summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-09-26 11:17:16 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-09-26 11:17:16 +0200
commit97fe74b97832402c5bcf6320a202de50bd99187f (patch)
tree0a990fa8da2ecceb1b51a4dbb3ef9e0fc30ce90c
parentXFileSharingPro: reverted cbb3d4c and 07ebba1 (diff)
downloadpyload-97fe74b97832402c5bcf6320a202de50bd99187f.tar.xz
IfolderRu: fixed #267
-rw-r--r--module/plugins/hoster/IfolderRu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/IfolderRu.py b/module/plugins/hoster/IfolderRu.py
index dc1ef8fe2..14e568f8f 100644
--- a/module/plugins/hoster/IfolderRu.py
+++ b/module/plugins/hoster/IfolderRu.py
@@ -24,7 +24,7 @@ class IfolderRu(SimpleHoster):
__name__ = "IfolderRu"
__type__ = "hoster"
__pattern__ = r"http://(?:[^.]*\.)?(?:ifolder\.ru|rusfolder\.(?:com|net|ru))/(?:files/)?(?P<ID>\d+).*"
- __version__ = "0.37"
+ __version__ = "0.38"
__description__ = """rusfolder.com / ifolder.ru"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
@@ -49,7 +49,7 @@ class IfolderRu(SimpleHoster):
self.html = self.load("http://rusfolder.com/%s" % file_id, cookies=True, decode=True)
self.getFileInfo()
- url = re.search('<a href="(http://ints\..*?=)"', self.html).group(1)
+ url = re.search(r"location\.href = '(http://ints\..*?=)'", self.html).group(1)
self.html = self.load(url, cookies=True, decode=True)
url, session_id = re.search(self.SESSION_ID_PATTERN, self.html).groups()