mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-12-12 07:15:49 -05:00
update for default = False
This commit is contained in:
parent
a1a04aa0c5
commit
6fc409f554
1 changed files with 4 additions and 7 deletions
|
|
@ -47,13 +47,10 @@ def should_ytdlp(worker, site, page):
|
||||||
else None
|
else None
|
||||||
)
|
)
|
||||||
|
|
||||||
if ytdlp_seed and not site.skip_ytdlp:
|
if ytdlp_seed and ytdlp_seed in worker.skip_av_seeds:
|
||||||
if ytdlp_seed in worker.skip_av_seeds:
|
logging.info("skipping ytdlp: site in skip_av_seeds")
|
||||||
logging.info("skipping ytdlp: site in skip_av_seeds")
|
site.skip_ytdlp = True
|
||||||
site.skip_ytdlp = True
|
return False
|
||||||
return False
|
|
||||||
else:
|
|
||||||
site.skip_ytdlp = False
|
|
||||||
|
|
||||||
ytdlp_url = page.redirect_url if page.redirect_url else page.url
|
ytdlp_url = page.redirect_url if page.redirect_url else page.url
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue