summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-15 18:04:47 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-21 07:20:21 +0100
commite8246525f3106c152d6d1436c6a3111e0334520f (patch)
tree3797fb96c27d44eafb5ee691c15d73c8b20ab7bc /module/plugins/hoster
parent[SimpleHoster] CONTENT_DISPOSITION feature (diff)
downloadpyload-e8246525f3106c152d6d1436c6a3111e0334520f.tar.xz
Fix cookie domain
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/BitshareCom.py2
-rw-r--r--module/plugins/hoster/DepositfilesCom.py2
-rw-r--r--module/plugins/hoster/DropboxCom.py2
-rw-r--r--module/plugins/hoster/FastshareCz.py2
-rw-r--r--module/plugins/hoster/FilefactoryCom.py2
-rw-r--r--module/plugins/hoster/GigapetaCom.py2
-rw-r--r--module/plugins/hoster/RapidgatorNet.py2
-rw-r--r--module/plugins/hoster/TurbobitNet.py2
-rw-r--r--module/plugins/hoster/UploadheroCom.py2
-rw-r--r--module/plugins/hoster/UploadingCom.py2
-rw-r--r--module/plugins/hoster/VeohCom.py2
-rw-r--r--module/plugins/hoster/VimeoCom.py2
-rw-r--r--module/plugins/hoster/WrzucTo.py2
-rw-r--r--module/plugins/hoster/ZippyshareCom.py2
14 files changed, 14 insertions, 14 deletions
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<N>.+) - (?P<S>[\d.,]+) (?P<U>[\w^_]+)</h1>'
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'.*<b title="(?P<N>[^"]+).*', "\g<N>")]
URL_REPLACEMENTS = [(__pattern__, "https://dfiles.eu/files/\g<ID>")]
- COOKIES = [(".dfiles.eu", "lang_current", "en")]
+ COOKIES = [("dfiles.eu", "lang_current", "en")]
FREE_LINK_PATTERN = r'<form id="downloader_file_form" action="(http://.+?\.(dfiles\.eu|depositfiles\.com)/.+?)" method="post"'
PREMIUM_LINK_PATTERN = r'class="repeat"><a href="(.+?)"'
diff --git a/module/plugins/hoster/DropboxCom.py b/module/plugins/hoster/DropboxCom.py
index cb15aaabd..658974d13 100644
--- a/module/plugins/hoster/DropboxCom.py
+++ b/module/plugins/hoster/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/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*<img src="([^"]*)"><br'
PREMIUM_URL_PATTERN = r'(http://data\d+\.fastshare\.cz/download\.php\?id=\d+&)'
diff --git a/module/plugins/hoster/FilefactoryCom.py b/module/plugins/hoster/FilefactoryCom.py
index 7691a1d00..349875f75 100644
--- a/module/plugins/hoster/FilefactoryCom.py
+++ b/module/plugins/hoster/FilefactoryCom.py
@@ -39,7 +39,7 @@ class FilefactoryCom(SimpleHoster):
WAIT_PATTERN = r'<div id="countdown_clock" data-delay="(\d+)">'
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'<th>\s*Size\s*</th>\s*<td>\s*(?P<S>.*?)\s*</td>'
OFFLINE_PATTERN = r'<div id="page_error">'
- 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'<title>Download file (?P<N>.*)</title>'
SIZE_PATTERN = r'File size:\s*<strong>(?P<S>[\d.,]+) (?P<U>[\w^_]+)</strong>'
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<ID>.html")]
- COOKIES = [(".turbobit.net", "user_lang", "en")]
+ COOKIES = [("turbobit.net", "user_lang", "en")]
NAME_PATTERN = r'id="file-title">(?P<N>.+?)<'
SIZE_PATTERN = r'class="file-size">(?P<S>[\d.,]+) (?P<U>[\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 : </span><strong>(?P<S>.*?)</strong>'
OFFLINE_PATTERN = r'<p class="titre_dl_2">|<div class="raison"><strong>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'<span id="minutes">(\d+)</span>.*\s*<span id="seconds">(\d+)</span>'
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<S>[\d.,]+) (?P<U>[\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<ID>')]
- 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<ID>')]
- 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*<strong>(?P<N>.*?)</strong>'
SIZE_PATTERN = r'class="info">\s*<tr>\s*<td>(?P<S>.*?)</td>'
- 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):