Improved subdl provider to filter out non SRT or ASS subtitles

pull/2575/head
morpheus65535 4 months ago
parent 032e8b812d
commit e3a3ef1e93

@ -147,7 +147,9 @@ class SubdlProvider(ProviderRetryMixin, Provider):
('subs_per_page', 30), ('subs_per_page', 30),
('type', 'tv'), ('type', 'tv'),
('comment', 1), ('comment', 1),
('releases', 1)), ('releases', 1),
('bazarr', 1)), # this argument filter incompatible image based or
# txt subtitles
timeout=30), timeout=30),
amount=retry_amount, amount=retry_amount,
retry_timeout=retry_timeout retry_timeout=retry_timeout
@ -162,7 +164,9 @@ class SubdlProvider(ProviderRetryMixin, Provider):
('subs_per_page', 30), ('subs_per_page', 30),
('type', 'movie'), ('type', 'movie'),
('comment', 1), ('comment', 1),
('releases', 1)), ('releases', 1),
('bazarr', 1)), # this argument filter incompatible image based or
# txt subtitles
timeout=30), timeout=30),
amount=retry_amount, amount=retry_amount,
retry_timeout=retry_timeout retry_timeout=retry_timeout

Loading…
Cancel
Save