Drop /expire/ URLs from automatic_captions too
This commit is contained in:
1 parent
1c432ccce1
commit
d35f52f8ac
1 file changed
+4
-1
@@ -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',)):
|
||||
|
||||
Reference in new issue
Block a user