mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
black'd
This commit is contained in:
parent
2e560d3c18
commit
a73059d25f
@ -41,7 +41,11 @@ def should_ytdlp(worker, site, page):
|
||||
logging.info("skipping ytdlp: site marked skip_ytdlp")
|
||||
return False
|
||||
|
||||
ytdlp_seed = site["metadata"]["ait_seed_id"] if "metadata" in site and "ait_seed_id" in site["metadata"] else None
|
||||
ytdlp_seed = (
|
||||
site["metadata"]["ait_seed_id"]
|
||||
if "metadata" in site and "ait_seed_id" in site["metadata"]
|
||||
else None
|
||||
)
|
||||
|
||||
if ytdlp_seed and not site.skip_ytdlp:
|
||||
if ytdlp_seed in worker.skip_av_seeds:
|
||||
|
Loading…
x
Reference in New Issue
Block a user