summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileSharkPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FileSharkPl.py')
-rw-r--r--module/plugins/hoster/FileSharkPl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/FileSharkPl.py b/module/plugins/hoster/FileSharkPl.py
index 9f6070806..de030be9c 100644
--- a/module/plugins/hoster/FileSharkPl.py
+++ b/module/plugins/hoster/FileSharkPl.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urlparse import urljoin
+import urlparse
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
@@ -78,7 +77,7 @@ class FileSharkPl(SimpleHoster):
if m is None:
self.error(_("Download url not found"))
- link = urljoin("http://fileshark.pl", m.group(1))
+ link = urlparse.urljoin("http://fileshark.pl", m.group(1))
self.html = self.load(link)