1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-07 23:33:38 +08:00

fix title info of qq video extractor

This commit is contained in:
clauderains
2016-01-07 12:10:43 +08:00
committed by huangtiande
Unverified
parent 591667be17
commit 31d407edf8
+1 -1
View File
@@ -41,7 +41,7 @@ class QqVideoIE(InfoExtractor):
video_id, 'Downloading video metadata')
webpage = self._download_webpage(url, video_id)
title = self._html_search_regex('<title>(.+?)</title>', webpage, "video title", '')
title = self._html_search_regex('<h1\s+class="mod_player_title"[^>]*>(.+?)</h1>', webpage, "video title", '')
url = url_doc.find('./vd/vi/url').text
ext = self._search_regex('\.([\d\w]+)\?', url, '', '')