summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/XHamsterCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/XHamsterCom.py')
-rw-r--r--pyload/plugin/hoster/XHamsterCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/XHamsterCom.py b/pyload/plugin/hoster/XHamsterCom.py
index 57e2a898c..4be06833b 100644
--- a/pyload/plugin/hoster/XHamsterCom.py
+++ b/pyload/plugin/hoster/XHamsterCom.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urllib import unquote
+import urllib
from pyload.utils import json_loads
from pyload.plugin.Hoster import Hoster
@@ -83,7 +82,7 @@ class XHamsterCom(Hoster):
self.logDebug("long_url = " + long_url)
else:
if flashvars['file']:
- file_url = unquote(flashvars['file'])
+ file_url = urllib.unquote(flashvars['file'])
else:
self.error(_("file_url not found"))