summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/FileSharkPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/FileSharkPl.py')
-rw-r--r--pyload/plugin/hoster/FileSharkPl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/FileSharkPl.py b/pyload/plugin/hoster/FileSharkPl.py
index 2a06fe6a4..5d37a55c6 100644
--- a/pyload/plugin/hoster/FileSharkPl.py
+++ b/pyload/plugin/hoster/FileSharkPl.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urlparse import urljoin
+import urlparse
from pyload.plugin.internal.SimpleHoster import SimpleHoster
@@ -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)