diff options
author | 2015-05-25 14:13:18 +0200 | |
---|---|---|
committer | 2015-05-25 14:13:18 +0200 | |
commit | 3be549693a8aaac758f0f1690eefe409e45c003f (patch) | |
tree | 26d733972cf89fd87e69dd97741b0276a31b8499 /module/plugins/hoster/NarodRu.py | |
parent | [UserAgentSwitcher] Fixup (2) (diff) | |
download | pyload-3be549693a8aaac758f0f1690eefe409e45c003f.tar.xz |
Some urljoin fixes
Diffstat (limited to 'module/plugins/hoster/NarodRu.py')
-rw-r--r-- | module/plugins/hoster/NarodRu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/NarodRu.py b/module/plugins/hoster/NarodRu.py index b7380add0..c201ac250 100644 --- a/module/plugins/hoster/NarodRu.py +++ b/module/plugins/hoster/NarodRu.py @@ -2,6 +2,7 @@ import random import re +import urlparse from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo @@ -47,7 +48,7 @@ class NarodRu(SimpleHoster): m = re.search(self.LINK_FREE_PATTERN, self.html) if m: - self.link = 'http://narod.ru' + m.group(1) + self.link = urlparse.urljoin("http://narod.ru", m.group(1)) self.correctCaptcha() break |