diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-07-09 13:47:49 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-07-09 13:47:49 +0200 |
commit | 2e8ed2bf0b357e907f6921c7bb88719bb347367b (patch) | |
tree | d938b32f0b55fe708dc4306f74ea32f1c00458e0 /module/plugins/hooks/RapideoPl.py | |
parent | remove enviroment line (diff) | |
download | pyload-2e8ed2bf0b357e907f6921c7bb88719bb347367b.tar.xz |
remove blank lines and unused imports
Diffstat (limited to 'module/plugins/hooks/RapideoPl.py')
-rw-r--r-- | module/plugins/hooks/RapideoPl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/RapideoPl.py b/module/plugins/hooks/RapideoPl.py index fa3df9f84..de1a80908 100644 --- a/module/plugins/hooks/RapideoPl.py +++ b/module/plugins/hooks/RapideoPl.py @@ -8,6 +8,7 @@ try: except ImportError: from simplejson import loads + class RapideoPl(MultiHoster): __name__ = "RapideoPl" __version__ = "0.01" @@ -24,8 +25,8 @@ class RapideoPl(MultiHoster): __author_mail__ = ("dev@rapideo.pl") def getHoster(self): - hostings = loads(getURL("https://www.rapideo.pl/clipboard.php?json=3").strip()) + return [domain for row in hostings for domain in row["domains"] if row["sdownload"] == "0"] def getHosterCached(self): |