mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-12 11:32:16 -04:00
black'd
This commit is contained in:
parent
2e560d3c18
commit
a73059d25f
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue