diff options
author | 2015-12-20 18:43:15 +0100 | |
---|---|---|
committer | 2015-12-27 22:46:01 +0100 | |
commit | 5deded62d94c04be64d34f6b67d07803eea9b6bf (patch) | |
tree | a33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/accounts/RapideoPl.py | |
parent | Update addons (diff) | |
download | pyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/accounts/RapideoPl.py')
-rw-r--r-- | module/plugins/accounts/RapideoPl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/accounts/RapideoPl.py b/module/plugins/accounts/RapideoPl.py index a92b9e345..30e35dc39 100644 --- a/module/plugins/accounts/RapideoPl.py +++ b/module/plugins/accounts/RapideoPl.py @@ -32,7 +32,8 @@ class RapideoPl(MultiAccount): 'info' : "1" } def grab_hosters(self, user, password, data): - hostings = json.loads(self.load("https://www.rapideo.pl/clipboard.php?json=3").strip()) + html = self.load("https://www.rapideo.pl/clipboard.php?json=3").strip() + hostings = json.loads(html) hostings_domains = [domain for row in hostings for domain in row['domains'] if row['sdownload'] == "0"] self.log_debug(hostings_domains) |