diff options
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/FilesonicCom.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/WuploadCom.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilesonicCom.py b/module/plugins/hoster/FilesonicCom.py index ba6c4c963..dfc332e01 100644 --- a/module/plugins/hoster/FilesonicCom.py +++ b/module/plugins/hoster/FilesonicCom.py @@ -31,7 +31,7 @@ def getInfo(urls): response = json_loads(getURL(check_url, decode=True))
for item in response["FSApi_Link"]["getInfo"]["response"]["links"]:
if item["status"] != "AVAILABLE":
- result.append((None, 0, 1, ids[item["id"]]))
+ result.append((None, 0, 1, ids[str(item["id"])]))
else:
result.append((item["filename"], item["size"], 2, ids[str(item["id"])]))
yield result
diff --git a/module/plugins/hoster/WuploadCom.py b/module/plugins/hoster/WuploadCom.py index e19ca1cd3..93b45fbfe 100644 --- a/module/plugins/hoster/WuploadCom.py +++ b/module/plugins/hoster/WuploadCom.py @@ -32,7 +32,7 @@ def getInfo(urls): response = json_loads(getURL(check_url).decode("utf8", "ignore")) for item in response["FSApi_Link"]["getInfo"]["response"]["links"]: if item["status"] != "AVAILABLE": - result.append((None, 0, 1, ids[item["id"]])) + result.append((None, 0, 1, ids[str(item["id"])])) else: result.append((item["filename"], item["size"], 2, ids[str(item["id"])])) yield result |