mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 08:27:15 +08:00
[thisav] Fix regex
This commit is contained in:
parent
f1e70fc2ff
commit
10ff1630e8
@ -41,6 +41,11 @@ class ThisAVIE(JWPlatformBaseIE):
|
|||||||
' - 視頻 - 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"addVariable\('file','([^']+)'\);", webpage, 'video url', default=None)
|
||||||
|
if not video_url:
|
||||||
|
video_url = self._html_search_regex(
|
||||||
|
r"<source type='video/mp4' src=\"([^'<>\"]+)\">"
|
||||||
|
, webpage, 'video url', default=None)
|
||||||
|
|
||||||
if video_url:
|
if video_url:
|
||||||
info_dict = {
|
info_dict = {
|
||||||
'formats': [{
|
'formats': [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user