summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoutubeCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r--module/plugins/hoster/YoutubeCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py
index 34d757ac0..8f8098efb 100644
--- a/module/plugins/hoster/YoutubeCom.py
+++ b/module/plugins/hoster/YoutubeCom.py
@@ -17,12 +17,12 @@ class YoutubeCom(Hoster):
def process(self, pyfile):
html = self.load(pyfile.url)
-
+
if re.search(r"(.*eine fehlerhafte Video-ID\.)", html) is not None:
self.offline()
videoId = pyfile.url.split("v=")[1].split("&")[0]
- videoHash = re.search(r'&t=(.+?)&', html).group(1)
+ videoHash = re.search(r'&t=(.+?)&', html).group(1)
file_name_pattern = '<meta name="title" content="(.+?)">'