diff options
author | 2014-12-13 15:56:57 +0100 | |
---|---|---|
committer | 2014-12-13 15:56:57 +0100 | |
commit | acc46fc3497a66a427b795b4a22c6e71d69185a1 (patch) | |
tree | 2d315b838a76435fc456b972c99c28d1732b2f70 /pyload/plugins/hook/FreeWayMe.py | |
parent | Code fixes (diff) | |
download | pyload-acc46fc3497a66a427b795b4a22c6e71d69185a1.tar.xz |
Update
Diffstat (limited to 'pyload/plugins/hook/FreeWayMe.py')
-rw-r--r-- | pyload/plugins/hook/FreeWayMe.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pyload/plugins/hook/FreeWayMe.py b/pyload/plugins/hook/FreeWayMe.py deleted file mode 100644 index 27297f77a..000000000 --- a/pyload/plugins/hook/FreeWayMe.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- - -from pyload.network.RequestFactory import getURL -from pyload.plugins.internal.MultiHoster import MultiHoster - - -class FreeWayMe(MultiHoster): - __name = "FreeWayMe" - __type = "hook" - __version = "0.11" - - __config = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), - ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", False), - ("interval", "int", "Reload interval in hours (0 to disable)", 24)] - - __description = """FreeWay.me hook plugin""" - __license = "GPLv3" - __authors = [("Nicolas Giese", "james@free-way.me")] - - - def getHoster(self): - hostis = getURL("https://www.free-way.me/ajax/jd.php", get={'id': 3}).replace("\"", "").strip() - self.logDebug("Hosters", hostis) - return [x.strip() for x in hostis.split(",") if x.strip()] |