diff options
author | sraedler <simon.raedler@yahoo.de> | 2015-04-08 01:58:10 +0200 |
---|---|---|
committer | sraedler <simon.raedler@yahoo.de> | 2015-04-08 01:58:10 +0200 |
commit | a59784a64f8afdca1642a0e53a396548a8608d61 (patch) | |
tree | a7eb9914bbc55bbc46f5a5f6929c6c6c95c81244 /module/plugins/internal/SimpleHoster.py | |
parent | Fixed RemixshareCom (diff) | |
parent | [ExtractArchive] Fix https://github.com/pyload/pyload/issues/1322 (diff) | |
download | pyload-a59784a64f8afdca1642a0e53a396548a8608d61.tar.xz |
Merge pull request #1 from pyload/stable
merge with base
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 0474a5af5..79b7c0534 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -3,7 +3,6 @@ import datetime import mimetypes import os -import pycurl import re import time import urllib2 @@ -248,7 +247,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "1.34" + __version__ = "1.35" __pattern__ = r'^unmatchable$' __config__ = [("use_premium", "bool", "Use premium account if available", True)] @@ -434,7 +433,6 @@ class SimpleHoster(Hoster): self.fail(_("Required account not found")) self.req.setOption("timeout", 120) - self.req.http.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0") #@NOTE: Work-around to old user-agent bug; remove in 0.4.10 if isinstance(self.COOKIES, list): set_cookies(self.req.cj, self.COOKIES) |