mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-23 08:09:48 -05:00
... if isyoutubehost
This commit is contained in:
parent
8747bf9fd8
commit
47d59970a7
@ -326,7 +326,7 @@ def _remember_videos(page, pushed_videos=None):
|
||||
|
||||
|
||||
def _try_youtube_dl(worker, ydl, site, page):
|
||||
max_attempts = 4 if YTDLP_PROXY else 1
|
||||
max_attempts = 4 if isyoutubehost(ydl.url) else 1
|
||||
attempt = 0
|
||||
while attempt < max_attempts:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user