Drop /expire/ URLs from automatic_captions too

This commit is contained in:
tcely authored and GitHub committed 2025-01-08 11:31:23 -05:00
1 parent 1c432ccce1
commit d35f52f8ac
1 file changed
+4 -1
+4 -1
View File
@@ -239,7 +239,10 @@ def filter_response(response_dict):
return (
url
and '://' in url
and '&expire=' in url
and (
'/expire/' in url
or '&expire=' in url
)
)
for key in frozenset(('subtitles', 'automatic_captions',)):