diff --git a/download-music.py b/download-music.py index 36025c9..5e477a2 100644 --- a/download-music.py +++ b/download-music.py @@ -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', " ") ) diff --git a/download-once.py b/download-once.py index 7ba322a..0e22a36 100644 --- a/download-once.py +++ b/download-once.py @@ -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', " ") ) diff --git a/download-videos.py b/download-videos.py index 607781b..a1bbe9b 100644 --- a/download-videos.py +++ b/download-videos.py @@ -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', " ") )