Added filter to exclude videos longer than 10 hours. This is to prevent livestreams from clogging the pipeline.

This commit is contained in:
Leonetienne 2022-03-02 11:21:39 +01:00
parent 51b07861e4
commit da049db662
3 changed files with 4 additions and 0 deletions

View File

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

View File

@ -20,6 +20,7 @@ with open("once.yaml", "r") as yamlfile:
--throttled-rate 100M
--restrict-filenames
--download-archive alreadydownloadedonce-music.txt
--match-filter "duration < 36000"
'{entry['url']}'
""".replace('\n', " ")
)
@ -34,6 +35,7 @@ with open("once.yaml", "r") as yamlfile:
--throttled-rate 100M
--restrict-filenames
--download-archive alreadydownloadedonce-videos.txt
--match-filter "duration < 36000"
'{entry['url']}'
""".replace('\n', " ")
)

View File

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