From e2103e995ccdb18bc961354566b9cb704553b18b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 7 Oct 2014 13:17:14 +0200 Subject: Code cosmetics on some account plugins --- module/plugins/accounts/CramitIn.py | 3 ++- module/plugins/accounts/File4safeCom.py | 3 ++- module/plugins/accounts/FilerioCom.py | 3 ++- module/plugins/accounts/LomafileCom.py | 3 --- module/plugins/accounts/MovReelCom.py | 6 ++---- module/plugins/accounts/RarefileNet.py | 3 ++- module/plugins/accounts/RyushareCom.py | 3 ++- module/plugins/accounts/UptoboxCom.py | 3 ++- 8 files changed, 14 insertions(+), 13 deletions(-) diff --git a/module/plugins/accounts/CramitIn.py b/module/plugins/accounts/CramitIn.py index f0cf2c6c7..da69bf926 100644 --- a/module/plugins/accounts/CramitIn.py +++ b/module/plugins/accounts/CramitIn.py @@ -12,4 +12,5 @@ class CramitIn(XFSPAccount): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - HOSTER_URL = "http://cramit.in/" + + HOSTER_URL = "http://www.cramit.in/" diff --git a/module/plugins/accounts/File4safeCom.py b/module/plugins/accounts/File4safeCom.py index 17a94195a..e8574b51e 100644 --- a/module/plugins/accounts/File4safeCom.py +++ b/module/plugins/accounts/File4safeCom.py @@ -12,7 +12,8 @@ class File4safeCom(XFSPAccount): __author_name__ = "stickell" __author_mail__ = "l.stickell@yahoo.it" - HOSTER_URL = "http://file4safe.com/" + + HOSTER_URL = "http://www.file4safe.com/" LOGIN_FAIL_PATTERN = r'input_login' PREMIUM_PATTERN = r'Extend Premium' diff --git a/module/plugins/accounts/FilerioCom.py b/module/plugins/accounts/FilerioCom.py index 8b5c41fee..91521fd5f 100644 --- a/module/plugins/accounts/FilerioCom.py +++ b/module/plugins/accounts/FilerioCom.py @@ -12,4 +12,5 @@ class FilerioCom(XFSPAccount): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - HOSTER_URL = "http://filerio.in/" + + HOSTER_URL = "http://www.filerio.in/" diff --git a/module/plugins/accounts/LomafileCom.py b/module/plugins/accounts/LomafileCom.py index feefdbf47..379e567d5 100644 --- a/module/plugins/accounts/LomafileCom.py +++ b/module/plugins/accounts/LomafileCom.py @@ -14,6 +14,3 @@ class LomafileCom(XFSPAccount): HOSTER_URL = "http://www.lomafile.com/" - - VALID_UNTIL_PATTERN = r'Premium account expire:([^<]+)' - TRAFFIC_LEFT_PATTERN = r'Traffic available today:(?P[^<]+)' diff --git a/module/plugins/accounts/MovReelCom.py b/module/plugins/accounts/MovReelCom.py index 1c2f3bbd4..f25ae7b4e 100644 --- a/module/plugins/accounts/MovReelCom.py +++ b/module/plugins/accounts/MovReelCom.py @@ -12,10 +12,8 @@ class MovReelCom(XFSPAccount): __author_name__ = "t4skforce" __author_mail__ = "t4skforce1337[AT]gmail[DOT]com" + login_timeout = 60 info_threshold = 30 - HOSTER_URL = "http://movreel.com/" - - TRAFFIC_LEFT_PATTERN = r'Traffic.*?([^<]+)' - LOGIN_FAIL_PATTERN = r']*>Incorrect Login or Password
' + HOSTER_URL = "http://www.movreel.com/" diff --git a/module/plugins/accounts/RarefileNet.py b/module/plugins/accounts/RarefileNet.py index e1fa7878a..91125e507 100644 --- a/module/plugins/accounts/RarefileNet.py +++ b/module/plugins/accounts/RarefileNet.py @@ -12,4 +12,5 @@ class RarefileNet(XFSPAccount): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - HOSTER_URL = "http://rarefile.net/" + + HOSTER_URL = "http://www.rarefile.net/" diff --git a/module/plugins/accounts/RyushareCom.py b/module/plugins/accounts/RyushareCom.py index e6f9d486d..2782fc0fd 100644 --- a/module/plugins/accounts/RyushareCom.py +++ b/module/plugins/accounts/RyushareCom.py @@ -12,7 +12,8 @@ class RyushareCom(XFSPAccount): __author_name__ = ("zoidberg", "trance4us") __author_mail__ = ("zoidberg@mujmail.cz", "") - HOSTER_URL = "http://ryushare.com/" + + HOSTER_URL = "http://www.ryushare.com/" def login(self, user, data, req): diff --git a/module/plugins/accounts/UptoboxCom.py b/module/plugins/accounts/UptoboxCom.py index 2c5f79ea1..a50b7689e 100644 --- a/module/plugins/accounts/UptoboxCom.py +++ b/module/plugins/accounts/UptoboxCom.py @@ -12,6 +12,7 @@ class UptoboxCom(XFSPAccount): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - HOSTER_URL = "http://uptobox.com/" + + HOSTER_URL = "http://www.uptobox.com/" VALID_UNTIL_PATTERN = r'>Premium.[Aa]ccount expire: ([^<]+)' -- cgit v1.2.3