mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Removed unneded code
This commit is contained in:
parent
cb6f90a027
commit
b6d49bb851
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user