summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/DevhostSt.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/DevhostSt.py')
-rw-r--r--pyload/plugin/crypter/DevhostSt.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/crypter/DevhostSt.py b/pyload/plugin/crypter/DevhostSt.py
index 46d33885f..7ede22106 100644
--- a/pyload/plugin/crypter/DevhostSt.py
+++ b/pyload/plugin/crypter/DevhostSt.py
@@ -4,8 +4,7 @@
# http://d-h.st/users/shine/?fld_id=37263#files
import re
-
-from urlparse import urljoin
+import urlparse
from pyload.plugin.internal.SimpleCrypter import SimpleCrypter
@@ -42,7 +41,7 @@ class DevhostSt(SimpleCrypter):
p = r'href="(.+?)">Back to \w+<'
m = re.search(p, self.html)
- html = self.load(urljoin("http://d-h.st", m.group(1)),
+ html = self.load(urlparse.urljoin("http://d-h.st", m.group(1)),
cookies=False)
p = '\?fld_id=%s.*?">(.+?)<' % self.info['pattern']['ID']