Removed unneded code

This commit is contained in:
Manuel Cortez 2018-02-21 16:22:19 -06:00
parent cb6f90a027
commit b6d49bb851

View File

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import youtube_dl import youtube_dl
player = None # Let's control player from here
def get_video_url(url): def get_video_url(url):
ydl = youtube_dl.YoutubeDL({'quiet': True, 'format': 'bestaudio/best', 'outtmpl': u'%(id)s%(ext)s'}) ydl = youtube_dl.YoutubeDL({'quiet': True, 'format': 'bestaudio/best', 'outtmpl': u'%(id)s%(ext)s'})
with ydl: with ydl: