mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-03 12:06:28 -04:00
if ydl.is_youtube_host
This commit is contained in:
parent
d8ebf2824e
commit
5f82b8871d
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ def _remember_videos(page, pushed_videos=None):
|
|||
|
||||
|
||||
def _try_youtube_dl(worker, ydl, site, page):
|
||||
max_attempts = PROXY_ATTEMPTS if ydl.isyoutubehost else 1
|
||||
max_attempts = PROXY_ATTEMPTS if ydl.is_youtube_host else 1
|
||||
attempt = 0
|
||||
while attempt < max_attempts:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue