1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[thisav] Fix uploader extraction.

This commit is contained in:
Alex Vong 2019-02-04 10:04:18 +08:00
parent f0b6136f11
commit f4bd187845
No known key found for this signature in database
GPG Key ID: 61EF502EF60252F2

View File

@ -61,11 +61,12 @@ class ThisAVIE(InfoExtractor):
else:
info_dict = self._extract_jwplayer_data(
webpage, video_id, require_title=False)
uploader = self._html_search_regex(
r': <a href="http://www\.thisav\.com/user/[0-9]+/(?:[^"]+)">([^<]+)</a>',
r': <a href="https?://www\.thisav\.com/user/[0-9]+/(?:[^"]+)">([^<]+)</a>',
webpage, 'uploader name', fatal=False)
uploader_id = self._html_search_regex(
r': <a href="http://www\.thisav\.com/user/[0-9]+/([^"]+)">(?:[^<]+)</a>',
r': <a href="https?://www\.thisav\.com/user/[0-9]+/([^"]+)">(?:[^<]+)</a>',
webpage, 'uploader id', fatal=False)
info_dict.update({