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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XVideosCom.py b/module/plugins/hoster/XVideosCom.py
index 2347c8cfc..d24bda275 100644
--- a/module/plugins/hoster/XVideosCom.py
+++ b/module/plugins/hoster/XVideosCom.py
@@ -23,7 +23,7 @@ class XVideosCom(Hoster):
def process(self, pyfile):
site = self.load(pyfile.url)
pyfile.name = "%s (%s).flv" % (
- re.search(r"<h2>([^<]+)<span", site).group(1),
+ re.search(r'<h2>(.+?)<span', site).group(1),
re.match(self.__pattern__, pyfile.url).group(1),
)
- self.download(urllib.unquote(re.search(r"flv_url=([^&]+)&", site).group(1)))
+ self.download(urllib.unquote(re.search(r'flv_url=([^&]+)&', site).group(1)))