mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
update for default = False
This commit is contained in:
parent
a1a04aa0c5
commit
6fc409f554
@ -47,13 +47,10 @@ def should_ytdlp(worker, site, page):
|
||||
else None
|
||||
)
|
||||
|
||||
if ytdlp_seed and not site.skip_ytdlp:
|
||||
if ytdlp_seed in worker.skip_av_seeds:
|
||||
logging.info("skipping ytdlp: site in skip_av_seeds")
|
||||
site.skip_ytdlp = True
|
||||
return False
|
||||
else:
|
||||
site.skip_ytdlp = False
|
||||
if ytdlp_seed and ytdlp_seed in worker.skip_av_seeds:
|
||||
logging.info("skipping ytdlp: site in skip_av_seeds")
|
||||
site.skip_ytdlp = True
|
||||
return False
|
||||
|
||||
ytdlp_url = page.redirect_url if page.redirect_url else page.url
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user