Upd horsy to 140320221219
This commit is contained in:
11
horsydist/resources/pafy_fix/pafy.py
Normal file
11
horsydist/resources/pafy_fix/pafy.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
Pafy = None
|
||||
|
||||
def new(url, basic=True, gdata=False, size=False,
|
||||
callback=None, ydl_opts=None):
|
||||
global Pafy
|
||||
if Pafy is None:
|
||||
from .backend_youtube_dl import YtdlPafy as Pafy
|
||||
|
||||
return Pafy(url, basic, gdata, size, callback, ydl_opts=ydl_opts)
|
||||
Reference in New Issue
Block a user