A feature-rich command-line audio/video downloader
[gamestar] Fix title extraction
Naglis Jonaitis7ab7c9e93290
diff --git a/youtube_dl/extractor/gamestar.py b/youtube_dl/extractor/gamestar.pyindex 7591a151ea..590ccf5266 100644--- a/youtube_dl/extractor/gamestar.py+++ b/youtube_dl/extractor/gamestar.py@@ -1,6 +1,8 @@# coding: utf-8from __future__ import unicode_literals+import re+from .common import InfoExtractorfrom ..utils import (int_or_none,@@ -31,7 +33,7 @@ class GameStarIE(InfoExtractor):webpage = self._download_webpage(url, video_id)og_title = self._og_search_title(webpage)- title = og_title.replace(' - Video bei GameStar.de', '').strip()+ title = re.sub(r'\s*- Video (bei|-) GameStar\.de$', '', og_title)url = 'http://gamestar.de/_misc/videos/portal/getVideoUrl.cfm?premium=0&videoId=' + video_id