]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[gorillavid] Improve title
authorSergey M․ <dstftw@gmail.com>
Sun, 6 Sep 2015 01:30:16 +0000 (07:30 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 6 Sep 2015 01:30:16 +0000 (07:30 +0600)
youtube_dl/extractor/gorillavid.py

index 1a42de2d53ea585094716156294c9e212f4e5f5c..afdf4e4c4473b19300ccdeab0ec3368b94e9c475 100644 (file)
@@ -97,7 +97,7 @@ class GorillaVidIE(InfoExtractor):
             webpage = self._download_webpage(req, video_id, 'Downloading video page')
 
         title = self._search_regex(
-            [r'style="z-index: [0-9]+;">([^<]+)</span>', r'>Watch (.+) '],
+            [r'style="z-index: [0-9]+;">([^<]+)</span>', r'<td nowrap>([^<]+)</td>', r'>Watch (.+) '],
             webpage, 'title', default=None) or self._og_search_title(webpage)
         video_url = self._search_regex(
             r'file\s*:\s*["\'](http[^"\']+)["\'],', webpage, 'file url')