mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-03 05:25:28 +00:00
Improved subdl provider to filter out non SRT or ASS subtitles
This commit is contained in:
parent
032e8b812d
commit
e3a3ef1e93
1 changed files with 6 additions and 2 deletions
|
@ -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…
Reference in a new issue