summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XVideosCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
commit8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch)
treebd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/hoster/XVideosCom.py
parentMerge branch 'pr/n1997_GammaC0de' into stable (diff)
downloadpyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/XVideosCom.py')
-rw-r--r--module/plugins/hoster/XVideosCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XVideosCom.py b/module/plugins/hoster/XVideosCom.py
index d74f35616..107193084 100644
--- a/module/plugins/hoster/XVideosCom.py
+++ b/module/plugins/hoster/XVideosCom.py
@@ -7,7 +7,7 @@ from module.plugins.internal.Hoster import Hoster
class XVideosCom(Hoster):
- __name__ = "XVideos.com"
+ __name = "XVideos.com"
__type__ = "hoster"
__version__ = "0.12"
__status__ = "testing"
@@ -23,6 +23,6 @@ class XVideosCom(Hoster):
site = self.load(pyfile.url)
pyfile.name = "%s (%s).flv" % (
re.search(r"<h2>([^<]+)<span", site).group(1),
- re.match(self.__pattern__, pyfile.url).group(1),
+ re.match(self.__pattern, pyfile.url).group(1),
)
self.download(urllib.unquote(re.search(r"flv_url=([^&]+)&", site).group(1)))