From e8246525f3106c152d6d1436c6a3111e0334520f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 15 Nov 2014 18:04:47 +0100 Subject: Fix cookie domain --- module/plugins/hoster/BitshareCom.py | 2 +- module/plugins/hoster/DepositfilesCom.py | 2 +- module/plugins/hoster/DropboxCom.py | 2 +- module/plugins/hoster/FastshareCz.py | 2 +- module/plugins/hoster/FilefactoryCom.py | 2 +- module/plugins/hoster/GigapetaCom.py | 2 +- module/plugins/hoster/RapidgatorNet.py | 2 +- module/plugins/hoster/TurbobitNet.py | 2 +- module/plugins/hoster/UploadheroCom.py | 2 +- module/plugins/hoster/UploadingCom.py | 2 +- module/plugins/hoster/VeohCom.py | 2 +- module/plugins/hoster/VimeoCom.py | 2 +- module/plugins/hoster/WrzucTo.py | 2 +- module/plugins/hoster/ZippyshareCom.py | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index 35aff7c1e..da393f8fc 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -24,7 +24,7 @@ class BitshareCom(SimpleHoster): INFO_PATTERN = r'Downloading (?P.+) - (?P[\d.,]+) (?P[\w^_]+)' OFFLINE_PATTERN = r'(>We are sorry, but the requested file was not found in our database|>Error - File not available<|The file was deleted either by the uploader, inactivity or due to copyright claim)' - COOKIES = [(".bitshare.com", "language_selection", "EN")] + COOKIES = [("bitshare.com", "language_selection", "EN")] AJAXID_PATTERN = r'var ajaxdl = "(.*?)";' TRAFFIC_USED_UP = r'Your Traffic is used up for today. Upgrade to premium to continue!' diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py index 2f6c30158..d414e7021 100644 --- a/module/plugins/hoster/DepositfilesCom.py +++ b/module/plugins/hoster/DepositfilesCom.py @@ -30,7 +30,7 @@ class DepositfilesCom(SimpleHoster): (r'.*")] URL_REPLACEMENTS = [(__pattern__, "https://dfiles.eu/files/\g")] - COOKIES = [(".dfiles.eu", "lang_current", "en")] + COOKIES = [("dfiles.eu", "lang_current", "en")] FREE_LINK_PATTERN = r'
Dropbox - (404|Shared link error)<' - COOKIES = [(".dropbox.com", "lang", "en")] + COOKIES = [("dropbox.com", "lang", "en")] def setup(self): diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py index df9d6fbd0..1467a0909 100644 --- a/module/plugins/hoster/FastshareCz.py +++ b/module/plugins/hoster/FastshareCz.py @@ -29,7 +29,7 @@ class FastshareCz(SimpleHoster): URL_REPLACEMENTS = [("#.*", "")] - COOKIES = [(".fastshare.cz", "lang", "en")] + COOKIES = [("fastshare.cz", "lang", "en")] FREE_URL_PATTERN = r'action=(/free/.*?)>\s*' PREMIUM_ONLY_PATTERN = r'>Premium Account Required' - COOKIES = [(".filefactory.com", "locale", "en_US.utf8")] + COOKIES = [("filefactory.com", "locale", "en_US.utf8")] def handleFree(self): diff --git a/module/plugins/hoster/GigapetaCom.py b/module/plugins/hoster/GigapetaCom.py index 111493338..c015b8ac3 100644 --- a/module/plugins/hoster/GigapetaCom.py +++ b/module/plugins/hoster/GigapetaCom.py @@ -24,7 +24,7 @@ class GigapetaCom(SimpleHoster): SIZE_PATTERN = r'\s*Size\s*\s*\s*(?P.*?)\s*' OFFLINE_PATTERN = r'
' - COOKIES = [(".gigapeta.com", "lang", "us")] + COOKIES = [("gigapeta.com", "lang", "us")] def handleFree(self): diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py index 48f16172d..6f3f7950a 100644 --- a/module/plugins/hoster/RapidgatorNet.py +++ b/module/plugins/hoster/RapidgatorNet.py @@ -28,7 +28,7 @@ class RapidgatorNet(SimpleHoster): API_URL = "http://rapidgator.net/api/file" - COOKIES = [(".rapidgator.net", "lang", "en")] + COOKIES = [("rapidgator.net", "lang", "en")] NAME_PATTERN = r'Download file (?P<N>.*)' SIZE_PATTERN = r'File size:\s*(?P[\d.,]+) (?P[\w^_]+)' diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py index 6aa7bdd4a..19ae766cb 100644 --- a/module/plugins/hoster/TurbobitNet.py +++ b/module/plugins/hoster/TurbobitNet.py @@ -29,7 +29,7 @@ class TurbobitNet(SimpleHoster): URL_REPLACEMENTS = [(__pattern__, "http://turbobit.net/\g.html")] - COOKIES = [(".turbobit.net", "user_lang", "en")] + COOKIES = [("turbobit.net", "user_lang", "en")] NAME_PATTERN = r'id="file-title">(?P.+?)<' SIZE_PATTERN = r'class="file-size">(?P[\d.,]+) (?P[\w^_]+)' diff --git a/module/plugins/hoster/UploadheroCom.py b/module/plugins/hoster/UploadheroCom.py index 617573d4c..92066abb5 100644 --- a/module/plugins/hoster/UploadheroCom.py +++ b/module/plugins/hoster/UploadheroCom.py @@ -25,7 +25,7 @@ class UploadheroCom(SimpleHoster): SIZE_PATTERN = r'Taille du fichier : (?P.*?)' OFFLINE_PATTERN = r'

|

Le lien du fichier ci-dessus n\'existe plus.' - COOKIES = [(".uploadhero.co", "lang", "en")] + COOKIES = [("uploadhero.co", "lang", "en")] IP_BLOCKED_PATTERN = r'href="(/lightbox_block_download\.php\?min=.*?)"' IP_WAIT_PATTERN = r'(\d+).*\s*(\d+)' diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py index 5510326d1..2b11e3bf4 100644 --- a/module/plugins/hoster/UploadingCom.py +++ b/module/plugins/hoster/UploadingCom.py @@ -26,7 +26,7 @@ class UploadingCom(SimpleHoster): SIZE_PATTERN = r'size tip_container">(?P[\d.,]+) (?P[\w^_]+)<' OFFLINE_PATTERN = r'(Page|file) not found' - COOKIES = [(".uploading.com", "lang", "1"), + COOKIES = [("uploading.com", "lang", "1"), (".uploading.com", "language", "1"), (".uploading.com", "setlang", "en"), (".uploading.com", "_lang", "en")] diff --git a/module/plugins/hoster/VeohCom.py b/module/plugins/hoster/VeohCom.py index 4e91f62bd..9a8fd830f 100644 --- a/module/plugins/hoster/VeohCom.py +++ b/module/plugins/hoster/VeohCom.py @@ -23,7 +23,7 @@ class VeohCom(SimpleHoster): URL_REPLACEMENTS = [(__pattern__, r'http://www.veoh.com/watch/\g')] - COOKIES = [(".veoh.com", "lassieLocale", "en")] + COOKIES = [("veoh.com", "lassieLocale", "en")] def setup(self): diff --git a/module/plugins/hoster/VimeoCom.py b/module/plugins/hoster/VimeoCom.py index 1d016961f..3242185f6 100644 --- a/module/plugins/hoster/VimeoCom.py +++ b/module/plugins/hoster/VimeoCom.py @@ -25,7 +25,7 @@ class VimeoCom(SimpleHoster): URL_REPLACEMENTS = [(__pattern__, r'https://www.vimeo.com/\g')] - COOKIES = [(".vimeo.com", "language", "en")] + COOKIES = [("vimeo.com", "language", "en")] def setup(self): diff --git a/module/plugins/hoster/WrzucTo.py b/module/plugins/hoster/WrzucTo.py index 21ac7263d..8e9653307 100644 --- a/module/plugins/hoster/WrzucTo.py +++ b/module/plugins/hoster/WrzucTo.py @@ -22,7 +22,7 @@ class WrzucTo(SimpleHoster): NAME_PATTERN = r'id="file_info">\s*(?P.*?)' SIZE_PATTERN = r'class="info">\s*\s*(?P.*?)' - COOKIES = [(".wrzuc.to", "language", "en")] + COOKIES = [("wrzuc.to", "language", "en")] def setup(self): diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py index 72bdf3171..8bf5aa942 100644 --- a/module/plugins/hoster/ZippyshareCom.py +++ b/module/plugins/hoster/ZippyshareCom.py @@ -26,7 +26,7 @@ class ZippyshareCom(SimpleHoster): OFFLINE_PATTERN = r'>File does not exist on this server<' - COOKIES = [(".zippyshare.com", "ziplocale", "en")] + COOKIES = [("zippyshare.com", "ziplocale", "en")] def setup(self): -- cgit v1.2.3