Update thisav.py
updated regex
This commit is contained in:
parent
fde677fed4
commit
1585a0a6d9
@ -42,11 +42,11 @@ class ThisAVIE(InfoExtractor):
|
|||||||
r'<title>([^<]+)</title>', webpage, 'title'),
|
r'<title>([^<]+)</title>', webpage, 'title'),
|
||||||
' - 視頻 - ThisAV.com-世界第一中文成人娛樂網站')
|
' - 視頻 - ThisAV.com-世界第一中文成人娛樂網站')
|
||||||
video_url = self._html_search_regex(
|
video_url = self._html_search_regex(
|
||||||
r"addVariable\('file','([^']+)'\);", webpage, 'video url', default=None)
|
r"source src=.(https?:\/\/.+\d+(_high|_low)?)", webpage, 'video url', default=None)
|
||||||
if video_url:
|
if video_url:
|
||||||
info_dict = {
|
info_dict = {
|
||||||
'formats': [{
|
'formats': [{
|
||||||
'url': video_url,
|
'url': video_url + '_dashinit.mp4',
|
||||||
}],
|
}],
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user