mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-14 06:18:00 +09:00
[Tube8IE] Fix regex for uploader extraction
This commit is contained in:
parent
8cb57d9b91
commit
71865091ab
@ -36,7 +36,7 @@ class Tube8IE(InfoExtractor):
|
|||||||
|
|
||||||
video_title = self._html_search_regex(r'videotitle ="([^"]+)', webpage, u'title')
|
video_title = self._html_search_regex(r'videotitle ="([^"]+)', webpage, u'title')
|
||||||
video_description = self._html_search_regex(r'>Description:</strong>(.+?)<', webpage, u'description', fatal=False)
|
video_description = self._html_search_regex(r'>Description:</strong>(.+?)<', webpage, u'description', fatal=False)
|
||||||
video_uploader = self._html_search_regex(r'>Submitted by:</strong>(?:\w|<[^>]*>)*(.+?)<', webpage, u'uploader', fatal=False)
|
video_uploader = self._html_search_regex(r'>Submitted by:</strong>(?:\s|<[^>]*>)*(.+?)<', webpage, u'uploader', fatal=False)
|
||||||
thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, u'thumbnail', fatal=False)
|
thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, u'thumbnail', fatal=False)
|
||||||
if thumbnail:
|
if thumbnail:
|
||||||
thumbnail = thumbnail.replace('\\/', '/')
|
thumbnail = thumbnail.replace('\\/', '/')
|
||||||
|
Loading…
Reference in New Issue
Block a user