summaryrefslogtreecommitdiffstats
path: root/module/plugins/YoutubeCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/YoutubeCom.py')
-rw-r--r--module/plugins/YoutubeCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/YoutubeCom.py b/module/plugins/YoutubeCom.py
index c93c662d1..38a4934df 100644
--- a/module/plugins/YoutubeCom.py
+++ b/module/plugins/YoutubeCom.py
@@ -43,7 +43,7 @@ class YoutubeCom(Plugin):
if self.html == None:
self.download_html()
- file_name_pattern = r"<title>YouTube - (.*)</title>"
+ file_name_pattern = r"'VIDEO_TITLE': '(.*)',"
file_suffix = ".flv"
if self.config['high_quality']:
file_suffix = ".mp4"