summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/subliminal_patch/providers/supersubtitles.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/subliminal_patch/providers/supersubtitles.py b/libs/subliminal_patch/providers/supersubtitles.py
index 4edc3cb20..01aff5a29 100644
--- a/libs/subliminal_patch/providers/supersubtitles.py
+++ b/libs/subliminal_patch/providers/supersubtitles.py
@@ -391,8 +391,8 @@ class SuperSubtitlesProvider(Provider, ProviderSubtitleArchiveMixin):
results = None
'''
- The result will be a JSON like this:
- [{
+ In order to work, the result should be a JSON like this:
+ {
"10": {
"language":"Angol",
"nev":"The Flash (Season 5) (1080p)",
@@ -404,14 +404,14 @@ class SuperSubtitlesProvider(Provider, ProviderSubtitleArchiveMixin):
"feltolto":"J1GG4",
"pontos_talalat":"111",
"evadpakk":"1"
- }
- },...]
+ }, ...
+ }
'''
subtitle_list = {}
season_pack_list = {}
- # Check the results:
+ # Check the results. If a list or a Nonetype is returned, ignore it:
if results and not isinstance(results, list):
for result in results.values():
'''