From 51e537831d330576af76e00e1420ebe504feca52 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 15 Nov 2014 18:04:47 +0100 Subject: Fix cookie domain --- pyload/plugins/hoster/BitshareCom.py | 2 +- pyload/plugins/hoster/DepositfilesCom.py | 2 +- pyload/plugins/hoster/FastshareCz.py | 2 +- pyload/plugins/hoster/FilefactoryCom.py | 2 +- pyload/plugins/hoster/GigapetaCom.py | 2 +- pyload/plugins/hoster/OneFichierCom.py | 2 +- pyload/plugins/hoster/RapidgatorNet.py | 2 +- pyload/plugins/hoster/TurbobitNet.py | 2 +- pyload/plugins/hoster/UploadheroCom.py | 2 +- pyload/plugins/hoster/UploadingCom.py | 2 +- pyload/plugins/hoster/VeohCom.py | 2 +- pyload/plugins/hoster/VimeoCom.py | 2 +- pyload/plugins/hoster/WrzucTo.py | 2 +- pyload/plugins/hoster/ZippyshareCom.py | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) (limited to 'pyload/plugins/hoster') diff --git a/pyload/plugins/hoster/BitshareCom.py b/pyload/plugins/hoster/BitshareCom.py index bb9230fd5..a557a43b0 100644 --- a/pyload/plugins/hoster/BitshareCom.py +++ b/pyload/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/pyload/plugins/hoster/DepositfilesCom.py b/pyload/plugins/hoster/DepositfilesCom.py index b4fed5b52..ee84195b6 100644 --- a/pyload/plugins/hoster/DepositfilesCom.py +++ b/pyload/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'
\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/pyload/plugins/hoster/GigapetaCom.py b/pyload/plugins/hoster/GigapetaCom.py index 7a0eef3c9..491fcad01 100644 --- a/pyload/plugins/hoster/GigapetaCom.py +++ b/pyload/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/pyload/plugins/hoster/OneFichierCom.py b/pyload/plugins/hoster/OneFichierCom.py index 299665bb5..b30358ff8 100644 --- a/pyload/plugins/hoster/OneFichierCom.py +++ b/pyload/plugins/hoster/OneFichierCom.py @@ -28,7 +28,7 @@ class OneFichierCom(SimpleHoster): OFFLINE_PATTERN = r'File not found !\s*<' - COOKIES = [(".1fichier.com", "LG", "en")] + COOKIES = [("1fichier.com", "LG", "en")] WAIT_PATTERN = r'>You must wait (\d+)' diff --git a/pyload/plugins/hoster/RapidgatorNet.py b/pyload/plugins/hoster/RapidgatorNet.py index d7f06d990..99fec9b20 100644 --- a/pyload/plugins/hoster/RapidgatorNet.py +++ b/pyload/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/pyload/plugins/hoster/TurbobitNet.py b/pyload/plugins/hoster/TurbobitNet.py index e8a8ed9a6..b069e7a84 100644 --- a/pyload/plugins/hoster/TurbobitNet.py +++ b/pyload/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/pyload/plugins/hoster/UploadheroCom.py b/pyload/plugins/hoster/UploadheroCom.py index 2aab44c9f..97100b17d 100644 --- a/pyload/plugins/hoster/UploadheroCom.py +++ b/pyload/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/pyload/plugins/hoster/UploadingCom.py b/pyload/plugins/hoster/UploadingCom.py index ffb275d94..3c0bc7ff9 100644 --- a/pyload/plugins/hoster/UploadingCom.py +++ b/pyload/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/pyload/plugins/hoster/VeohCom.py b/pyload/plugins/hoster/VeohCom.py index ff4cde0ce..0f756211c 100644 --- a/pyload/plugins/hoster/VeohCom.py +++ b/pyload/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/pyload/plugins/hoster/VimeoCom.py b/pyload/plugins/hoster/VimeoCom.py index a23888160..5bd1b9afb 100644 --- a/pyload/plugins/hoster/VimeoCom.py +++ b/pyload/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/pyload/plugins/hoster/WrzucTo.py b/pyload/plugins/hoster/WrzucTo.py index 44255e6b2..dbd09f138 100644 --- a/pyload/plugins/hoster/WrzucTo.py +++ b/pyload/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/pyload/plugins/hoster/ZippyshareCom.py b/pyload/plugins/hoster/ZippyshareCom.py index 67ff1c592..8f9062cfc 100644 --- a/pyload/plugins/hoster/ZippyshareCom.py +++ b/pyload/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