Removed youtube_dl as requirement since it didn't work much and changed back the faulty code... fixed a sql query.