mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
hide frequent youtubedl incompatibility
This commit is contained in:
parent
fb00f1f336
commit
522b6288c1
1 changed files with 3 additions and 1 deletions
|
@ -533,7 +533,9 @@ def fetch_media(link_dir, link, timeout=MEDIA_TIMEOUT, overwrite=False):
|
||||||
if (b'ERROR: Unsupported URL' in result.stderr
|
if (b'ERROR: Unsupported URL' in result.stderr
|
||||||
or b'HTTP Error 404' in result.stderr
|
or b'HTTP Error 404' in result.stderr
|
||||||
or b'HTTP Error 403' in result.stderr
|
or b'HTTP Error 403' in result.stderr
|
||||||
or b'URL could be a direct video link' in result.stderr):
|
or b'URL could be a direct video link' in result.stderr
|
||||||
|
or b'Unable to extract container ID' in result.stderr):
|
||||||
|
# These happen too frequently on non-media pages to warrant printing to console
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
print(' got youtubedl response code {}:'.format(result.returncode))
|
print(' got youtubedl response code {}:'.format(result.returncode))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue