Add more advanced filter to exclude livestreams

This commit is contained in:
Leonetienne 2022-04-11 00:35:16 +02:00
parent 31dfb2581e
commit 22eddd531c
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ with open("linklist-music.yaml", "r") as yamlfile:
--throttled-rate 100M --throttled-rate 100M
--restrict-filenames --restrict-filenames
--download-archive alreadydownloaded-music.txt --download-archive alreadydownloaded-music.txt
--match-filter "duration < 36000" --match-filter "duration < 36000 & is_live = false"
'{entry['url']}' '{entry['url']}'
""".replace('\n', " ") """.replace('\n', " ")
) )

View File

@ -21,7 +21,7 @@ with open("linklist-videos.yaml", "r") as yamlfile:
--throttled-rate 100M --throttled-rate 100M
--restrict-filenames --restrict-filenames
--download-archive alreadydownloaded-videos.txt --download-archive alreadydownloaded-videos.txt
--match-filter "duration < 36000" --match-filter "duration < 36000 & is_live = false"
'{entry['url']}' '{entry['url']}'
""".replace('\n', " ") """.replace('\n', " ")
) )