summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/FreeWayMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/FreeWayMe.py')
-rw-r--r--module/plugins/hooks/FreeWayMe.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hooks/FreeWayMe.py b/module/plugins/hooks/FreeWayMe.py
index 7d4bcc852..3d2f7fcef 100644
--- a/module/plugins/hooks/FreeWayMe.py
+++ b/module/plugins/hooks/FreeWayMe.py
@@ -13,8 +13,6 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
-
- @author: Nicolas Giese
"""
from module.network.RequestFactory import getURL
@@ -25,15 +23,18 @@ class FreeWayMe(MultiHoster):
__name__ = "FreeWayMe"
__version__ = "0.11"
__type__ = "hook"
- __description__ = """FreeWay.me hook plugin"""
+
__config__ = [("activated", "bool", "Activated", False),
("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"""
__author_name__ = "Nicolas Giese"
__author_mail__ = "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: %s" % hostis)