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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/XVideosCom.py b/module/plugins/hoster/XVideosCom.py
index 902f627a8..0b925fd95 100644
--- a/module/plugins/hoster/XVideosCom.py
+++ b/module/plugins/hoster/XVideosCom.py
@@ -16,6 +16,6 @@ class XVideosCom(Hoster):
site = self.load(pyfile.url)
pyfile.name = "%s (%s).flv" % (
re.search(r"<h2>([^<]+)<span", site).group(1),
- re.search(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)))