diff options
author | 2014-11-15 18:04:47 +0100 | |
---|---|---|
committer | 2014-11-15 18:04:47 +0100 | |
commit | 51e537831d330576af76e00e1420ebe504feca52 (patch) | |
tree | c58d846170c3d002382c4060b6abab516829e9a1 /pyload/plugins/crypter | |
parent | [Plugin] Fix typo (thx rlindner81) (diff) | |
download | pyload-51e537831d330576af76e00e1420ebe504feca52.tar.xz |
Fix cookie domain
Diffstat (limited to 'pyload/plugins/crypter')
-rw-r--r-- | pyload/plugins/crypter/FilefactoryCom.py | 2 | ||||
-rw-r--r-- | pyload/plugins/crypter/LinkCryptWs.py | 2 | ||||
-rw-r--r-- | pyload/plugins/crypter/LinkSaveIn.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/crypter/FilefactoryCom.py b/pyload/plugins/crypter/FilefactoryCom.py index 9792bb9f1..cc9563ed9 100644 --- a/pyload/plugins/crypter/FilefactoryCom.py +++ b/pyload/plugins/crypter/FilefactoryCom.py @@ -21,7 +21,7 @@ class FilefactoryCom(SimpleCrypter): NAME_PATTERN = r'<h1>Files in <span>(?P<N>.+)</span></h1>' PAGES_PATTERN = r'data-paginator-totalPages="(\d+)"' - COOKIES = [(".filefactory.com", "locale", "en_US.utf8")] + COOKIES = [("filefactory.com", "locale", "en_US.utf8")] def loadPage(self, page_n): diff --git a/pyload/plugins/crypter/LinkCryptWs.py b/pyload/plugins/crypter/LinkCryptWs.py index 4eb48deae..4b4adc8d1 100644 --- a/pyload/plugins/crypter/LinkCryptWs.py +++ b/pyload/plugins/crypter/LinkCryptWs.py @@ -43,7 +43,7 @@ class LinkCryptWs(Crypter): self.package = pyfile.package() self.fileid = re.match(self.__pattern__, pyfile.url).group('ID') - self.req.cj.setCookie(".linkcrypt.ws", "language", "en") + self.req.cj.setCookie("linkcrypt.ws", "language", "en") # Request package self.req.http.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko") #: better chance to not get those key-captchas diff --git a/pyload/plugins/crypter/LinkSaveIn.py b/pyload/plugins/crypter/LinkSaveIn.py index b45904c2e..2e0ac923e 100644 --- a/pyload/plugins/crypter/LinkSaveIn.py +++ b/pyload/plugins/crypter/LinkSaveIn.py @@ -27,7 +27,7 @@ class LinkSaveIn(SimpleCrypter): __authors__ = [("fragonib", "fragonib[AT]yahoo[DOT]es")] - COOKIES = [(".linksave.in", "Linksave_Language", "english")] + COOKIES = [("linksave.in", "Linksave_Language", "english")] # Constants _JK_KEY_ = "jk" |