summaryrefslogtreecommitdiffstats
path: root/pyload
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-10-07 11:22:14 +0200
commit949cb6bcb57b9a8fd5432b31d20c13faad9b03c0 (patch)
tree95f203071abb25ab7798a17ba4c8ebc9a1ef45ef /pyload
parentXFileSharingPro: reverted cbb3d4c and 07ebba1 (diff)
downloadpyload-949cb6bcb57b9a8fd5432b31d20c13faad9b03c0.tar.xz
IfolderRu: fixed #267
(cherry picked from commit 97fe74b97832402c5bcf6320a202de50bd99187f)
Diffstat (limited to 'pyload')
-rw-r--r--pyload/plugins/hoster/IfolderRu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/IfolderRu.py b/pyload/plugins/hoster/IfolderRu.py
index dc1ef8fe2..14e568f8f 100644
--- a/pyload/plugins/hoster/IfolderRu.py
+++ b/pyload/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()