summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar magnat <devnull@localhost> 2012-11-24 21:43:35 +0100
committerGravatar magnat <devnull@localhost> 2012-11-24 21:43:35 +0100
commita77b64e8a5e277aa5d20426535acde0ed37d67ce (patch)
treeac940c426fee69f1e6773ce517705e9869647865 /module
parentUpdate hellshare.cz, add boltsharing.com (diff)
downloadpyload-a77b64e8a5e277aa5d20426535acde0ed37d67ce.tar.xz
fix cookie in request (the language parameter is important)
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/BitshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py
index f5d59d428..ab194cb94 100644
--- a/module/plugins/hoster/BitshareCom.py
+++ b/module/plugins/hoster/BitshareCom.py
@@ -46,7 +46,7 @@ class BitshareCom(Hoster):
__name__ = "BitshareCom"
__type__ = "hoster"
__pattern__ = r"http://(www\.)?bitshare\.com/(files/(?P<id1>[a-zA-Z0-9]+)(/(?P<name>.*?)\.html)?|\?f=(?P<id2>[a-zA-Z0-9]+))"
- __version__ = "0.45"
+ __version__ = "0.46"
__description__ = """Bitshare.Com File Download Hoster"""
__author_name__ = ("paulking", "fragonib")
__author_mail__ = (None, "fragonib[AT]yahoo[DOT]es")
@@ -74,7 +74,7 @@ class BitshareCom(Hoster):
# Load main page
self.req.cj.setCookie(self.HOSTER_DOMAIN, "language_selection", "EN")
- self.html = self.load(self.pyfile.url, ref=False, decode=True, cookies = False)
+ self.html = self.load(self.pyfile.url, ref=False, decode=True)
# Check offline
if re.search(self.FILE_OFFLINE_PATTERN, self.html) is not None: