Procházet zdrojové kódy

Merge remote-tracking branch 'Dineshs91/KontrTube-fix'

Philipp Hagemeister před 11 roky
rodič
revize
72961c2a8a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      youtube_dl/extractor/kontrtube.py

+ 1 - 1
youtube_dl/extractor/kontrtube.py

@@ -34,7 +34,7 @@ class KontrTubeIE(InfoExtractor):
         video_url = self._html_search_regex(r"video_url: '(.+?)/?',", webpage, 'video URL')
         video_url = self._html_search_regex(r"video_url: '(.+?)/?',", webpage, 'video URL')
         thumbnail = self._html_search_regex(r"preview_url: '(.+?)/?',", webpage, 'video thumbnail', fatal=False)
         thumbnail = self._html_search_regex(r"preview_url: '(.+?)/?',", webpage, 'video thumbnail', fatal=False)
         title = self._html_search_regex(
         title = self._html_search_regex(
-            r'<title>(.+?) - Труба зовёт - Интересный видеохостинг</title>', webpage, 'video title')
+            r'<title>(.+?)</title>', webpage, 'video title')
         description = self._html_search_meta('description', webpage, 'video description')
         description = self._html_search_meta('description', webpage, 'video description')
 
 
         mobj = re.search(
         mobj = re.search(