diff options
author | 2015-05-01 16:45:36 +0200 | |
---|---|---|
committer | 2015-05-01 16:45:36 +0200 | |
commit | 9ff63382d144732acb92cbe72ce7e58f5ac311a5 (patch) | |
tree | 929683b335743bb659c8f6afd84fdf8822f9ab7d /pyload/plugin/hoster/XVideosCom.py | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-9ff63382d144732acb92cbe72ce7e58f5ac311a5.tar.xz |
Use 'import' instead 'from' (1)
Diffstat (limited to 'pyload/plugin/hoster/XVideosCom.py')
-rw-r--r-- | pyload/plugin/hoster/XVideosCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/XVideosCom.py b/pyload/plugin/hoster/XVideosCom.py index ae4d0637f..be168fbb9 100644 --- a/pyload/plugin/hoster/XVideosCom.py +++ b/pyload/plugin/hoster/XVideosCom.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- import re - -from urllib import unquote +import urllib from pyload.plugin.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))) |