summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XVideosCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/XVideosCom.py')
-rw-r--r--module/plugins/hoster/XVideosCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/XVideosCom.py b/module/plugins/hoster/XVideosCom.py
index 9bb2da424..a8f291824 100644
--- a/module/plugins/hoster/XVideosCom.py
+++ b/module/plugins/hoster/XVideosCom.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urllib import unquote
+import urllib
from module.plugins.Hoster import Hoster
@@ -25,4 +24,4 @@ class XVideosCom(Hoster):
re.search(r"<h2>([^<]+)<span", site).group(1),
re.match(self.__pattern__, pyfile.url).group(1),
)
- self.download(unquote(re.search(r"flv_url=([^&]+)&", site).group(1)))
+ self.download(urllib.unquote(re.search(r"flv_url=([^&]+)&", site).group(1)))