summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ShareplaceCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/ShareplaceCom.py')
-rw-r--r--module/plugins/hoster/ShareplaceCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/ShareplaceCom.py b/module/plugins/hoster/ShareplaceCom.py
index c540dd2df..babd0d1d4 100644
--- a/module/plugins/hoster/ShareplaceCom.py
+++ b/module/plugins/hoster/ShareplaceCom.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urllib import unquote
+import urllib
from module.plugins.Hoster import Hoster
@@ -61,7 +60,7 @@ class ShareplaceCom(Hoster):
url = re.search(r"var beer = '(.*?)';", self.html)
if url:
url = url.group(1)
- url = unquote(
+ url = urllib.unquote(
url.replace("http://http:/", "").replace("vvvvvvvvv", "").replace("lllllllll", "").replace(
"teletubbies", ""))
self.logDebug("URL: %s" % url)