diff options
Diffstat (limited to 'pyload/plugins/account')
-rw-r--r-- | pyload/plugins/account/DropboxCom.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/FastshareCz.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/FilecloudIo.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/FourSharedCom.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/Keep2shareCc.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/RapidshareCom.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/ShareonlineBiz.py | 4 | ||||
-rw-r--r-- | pyload/plugins/account/SimplyPremiumCom.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/TurbobitNet.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/UlozTo.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/UnrestrictLi.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/UploadedTo.py | 2 | ||||
-rw-r--r-- | pyload/plugins/account/UploadingCom.py | 8 |
13 files changed, 17 insertions, 17 deletions
diff --git a/pyload/plugins/account/DropboxCom.py b/pyload/plugins/account/DropboxCom.py index 03e654e89..40d5584a4 100644 --- a/pyload/plugins/account/DropboxCom.py +++ b/pyload/plugins/account/DropboxCom.py @@ -22,7 +22,7 @@ class DropboxCom(SimpleHoster): OFFLINE_PATTERN = r'<title>Dropbox - (404|Shared link error)<' - COOKIES = [(".dropbox.com", "lang", "en")] + COOKIES = [("dropbox.com", "lang", "en")] def setup(self): diff --git a/pyload/plugins/account/FastshareCz.py b/pyload/plugins/account/FastshareCz.py index b61d6b23f..32c897317 100644 --- a/pyload/plugins/account/FastshareCz.py +++ b/pyload/plugins/account/FastshareCz.py @@ -41,7 +41,7 @@ class FastshareCz(Account): def login(self, user, data, req): - req.cj.setCookie(".fastshare.cz", "lang", "en") + req.cj.setCookie("fastshare.cz", "lang", "en") req.load('http://www.fastshare.cz/login') # Do not remove or it will not login diff --git a/pyload/plugins/account/FilecloudIo.py b/pyload/plugins/account/FilecloudIo.py index b52521093..babef59a2 100644 --- a/pyload/plugins/account/FilecloudIo.py +++ b/pyload/plugins/account/FilecloudIo.py @@ -42,7 +42,7 @@ class FilecloudIo(Account): def login(self, user, data, req): - req.cj.setCookie(".secure.filecloud.io", "lang", "en") + req.cj.setCookie("secure.filecloud.io", "lang", "en") html = req.load('https://secure.filecloud.io/user-login.html') if not hasattr(self, "form_data"): diff --git a/pyload/plugins/account/FourSharedCom.py b/pyload/plugins/account/FourSharedCom.py index 110572faa..20293fa5d 100644 --- a/pyload/plugins/account/FourSharedCom.py +++ b/pyload/plugins/account/FourSharedCom.py @@ -21,7 +21,7 @@ class FourSharedCom(Account): def login(self, user, data, req): - req.cj.setCookie(".4shared.com", "4langcookie", "en") + req.cj.setCookie("4shared.com", "4langcookie", "en") res = req.load('http://www.4shared.com/web/login', post={'login': user, 'password': data['password'], diff --git a/pyload/plugins/account/Keep2shareCc.py b/pyload/plugins/account/Keep2shareCc.py index af870cfd0..172cedfc2 100644 --- a/pyload/plugins/account/Keep2shareCc.py +++ b/pyload/plugins/account/Keep2shareCc.py @@ -60,7 +60,7 @@ class Keep2shareCc(Account): def login(self, user, data, req): - req.cj.setCookie(".keep2share.cc", "lang", "en") + req.cj.setCookie("keep2share.cc", "lang", "en") html = req.load("http://keep2share.cc/login.html", post={'LoginForm[username]': user, 'LoginForm[password]': data['password']}) diff --git a/pyload/plugins/account/RapidshareCom.py b/pyload/plugins/account/RapidshareCom.py index 778b0c55d..01adad15f 100644 --- a/pyload/plugins/account/RapidshareCom.py +++ b/pyload/plugins/account/RapidshareCom.py @@ -52,4 +52,4 @@ class RapidshareCom(Account): k, v = t.split("=") info[k] = v cj = self.getAccountCookies(user) - cj.setCookie(".rapidshare.com", "enc", info['cookie']) + cj.setCookie("rapidshare.com", "enc", info['cookie']) diff --git a/pyload/plugins/account/ShareonlineBiz.py b/pyload/plugins/account/ShareonlineBiz.py index cc411ad72..dbbe93869 100644 --- a/pyload/plugins/account/ShareonlineBiz.py +++ b/pyload/plugins/account/ShareonlineBiz.py @@ -30,9 +30,9 @@ class ShareonlineBiz(Account): self.logDebug(info) if "dl" in info and info['dl'].lower() != "not_available": - req.cj.setCookie(".share-online.biz", "dl", info['dl']) + req.cj.setCookie("share-online.biz", "dl", info['dl']) if "a" in info and info['a'].lower() != "not_available": - req.cj.setCookie(".share-online.biz", "a", info['a']) + req.cj.setCookie("share-online.biz", "a", info['a']) return {"validuntil": int(info['expire_date']) if "expire_date" in info else -1, "trafficleft": -1, diff --git a/pyload/plugins/account/SimplyPremiumCom.py b/pyload/plugins/account/SimplyPremiumCom.py index 45b4263ae..b3dad84d3 100644 --- a/pyload/plugins/account/SimplyPremiumCom.py +++ b/pyload/plugins/account/SimplyPremiumCom.py @@ -33,7 +33,7 @@ class SimplyPremiumCom(Account): def login(self, user, data, req): - req.cj.setCookie(".simply-premium.com", "lang", "EN") + req.cj.setCookie("simply-premium.com", "lang", "EN") if data['password'] == '' or data['password'] == '0': post_data = {"key": user} diff --git a/pyload/plugins/account/TurbobitNet.py b/pyload/plugins/account/TurbobitNet.py index cb6f36613..e2f56905c 100644 --- a/pyload/plugins/account/TurbobitNet.py +++ b/pyload/plugins/account/TurbobitNet.py @@ -31,7 +31,7 @@ class TurbobitNet(Account): def login(self, user, data, req): - req.cj.setCookie(".turbobit.net", "user_lang", "en") + req.cj.setCookie("turbobit.net", "user_lang", "en") html = req.load("http://turbobit.net/user/login", post={ "user[login]": user, diff --git a/pyload/plugins/account/UlozTo.py b/pyload/plugins/account/UlozTo.py index 4e663efa9..2cdab0167 100644 --- a/pyload/plugins/account/UlozTo.py +++ b/pyload/plugins/account/UlozTo.py @@ -26,7 +26,7 @@ class UlozTo(Account): html = req.load("http://www.ulozto.net/", decode=True) - req.cj.setCookie(".ulozto.net", "ULOSESSID", self.phpsessid) + req.cj.setCookie("ulozto.net", "ULOSESSID", self.phpsessid) m = re.search(self.TRAFFIC_LEFT_PATTERN, html) trafficleft = int(float(m.group(1).replace(' ', '').replace(',', '.')) * 1000 * 1.048) if m else 0 diff --git a/pyload/plugins/account/UnrestrictLi.py b/pyload/plugins/account/UnrestrictLi.py index 88f4841f7..30144ca65 100644 --- a/pyload/plugins/account/UnrestrictLi.py +++ b/pyload/plugins/account/UnrestrictLi.py @@ -29,7 +29,7 @@ class UnrestrictLi(Account): def login(self, user, data, req): - req.cj.setCookie(".unrestrict.li", "lang", "EN") + req.cj.setCookie("unrestrict.li", "lang", "EN") html = req.load("https://unrestrict.li/sign_in") if 'solvemedia' in html: diff --git a/pyload/plugins/account/UploadedTo.py b/pyload/plugins/account/UploadedTo.py index 310e23730..f5c5d22b2 100644 --- a/pyload/plugins/account/UploadedTo.py +++ b/pyload/plugins/account/UploadedTo.py @@ -51,7 +51,7 @@ class UploadedTo(Account): def login(self, user, data, req): - req.cj.setCookie(".uploaded.net", "lang", "en") + req.cj.setCookie("uploaded.net", "lang", "en") page = req.load("http://uploaded.net/io/login", post={'id': user, 'pw': data['password'], '_': ""}) diff --git a/pyload/plugins/account/UploadingCom.py b/pyload/plugins/account/UploadingCom.py index dd7ab26cf..8f308b0b6 100644 --- a/pyload/plugins/account/UploadingCom.py +++ b/pyload/plugins/account/UploadingCom.py @@ -53,10 +53,10 @@ class UploadingCom(Account): def login(self, user, data, req): - set_cookies([(".uploading.com", "lang", "1"), - (".uploading.com", "language", "1"), - (".uploading.com", "setlang", "en"), - (".uploading.com", "_lang", "en")] + set_cookies([("uploading.com", "lang", "1"), + ("uploading.com", "language", "1"), + ("uploading.com", "setlang", "en"), + ("uploading.com", "_lang", "en")] req.load("http://uploading.com/") req.load("http://uploading.com/general/login_form/?JsHttpRequest=%s-xml" % long(time() * 1000), |