summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoupornCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:12:40 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:15:48 +0200
commit8939f015a688a07ec7d0bd14b6a3704f6a2cb4a0 (patch)
tree8328ac967a7302e82c8bfb59c75c43cd029cdd76 /module/plugins/hoster/YoupornCom.py
parentPattern update 2 (diff)
downloadpyload-8939f015a688a07ec7d0bd14b6a3704f6a2cb4a0.tar.xz
Pattern update 3
Diffstat (limited to 'module/plugins/hoster/YoupornCom.py')
-rw-r--r--module/plugins/hoster/YoupornCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/YoupornCom.py b/module/plugins/hoster/YoupornCom.py
index 692c63286..37788b9f7 100644
--- a/module/plugins/hoster/YoupornCom.py
+++ b/module/plugins/hoster/YoupornCom.py
@@ -42,7 +42,7 @@ class YoupornCom(Hoster):
if not self.html:
self.download_html()
- file_name_pattern = r"<title>(.*) - Free Porn Videos - YouPorn</title>"
+ file_name_pattern = r'<title>(.+) - '
return re.search(file_name_pattern, self.html).group(1).replace("&amp;", "&").replace("/", "") + '.flv'
def file_exists(self):