mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
skip vimeo special case
This commit is contained in:
parent
c52b4af608
commit
d5e41bf9ef
@ -260,9 +260,6 @@ def _build_youtube_dl(worker, destdir, site):
|
||||
}
|
||||
if worker._proxy_for(site):
|
||||
ydl_opts["proxy"] = "http://{}".format(worker._proxy_for(site))
|
||||
if 'vimeo.com' in site.seed:
|
||||
ydl_opts["format"] = "bv*+ba/b"
|
||||
worker.logger.info("setting yt-dlp format to 'bv*+ba/b' for vimeo.com")
|
||||
ydl = _YoutubeDL(ydl_opts)
|
||||
if site.extra_headers():
|
||||
ydl._opener.add_handler(ExtraHeaderAdder(site.extra_headers()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user