mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 15:16:52 +01:00
Fix FakeDownloaders
This commit is contained in:
parent
dbc50fdf82
commit
8749b71273
@ -29,7 +29,7 @@ def __init__(self):
|
|||||||
self.params = parameters
|
self.params = parameters
|
||||||
def to_screen(self, s):
|
def to_screen(self, s):
|
||||||
print(s)
|
print(s)
|
||||||
def trouble(self, s):
|
def trouble(self, s, tb=None):
|
||||||
raise Exception(s)
|
raise Exception(s)
|
||||||
def extract_info(self, url):
|
def extract_info(self, url):
|
||||||
self.result.append(url)
|
self.result.append(url)
|
||||||
|
@ -30,7 +30,7 @@ def __init__(self):
|
|||||||
self.params = parameters
|
self.params = parameters
|
||||||
def to_screen(self, s):
|
def to_screen(self, s):
|
||||||
print(s)
|
print(s)
|
||||||
def trouble(self, s):
|
def trouble(self, s, tb=None):
|
||||||
raise Exception(s)
|
raise Exception(s)
|
||||||
def download(self, x):
|
def download(self, x):
|
||||||
self.result.append(x)
|
self.result.append(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user