mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 19:35:19 +01:00
[ChannelNewsAsia] follow conventions
This commit is contained in:
parent
6ee229b4f1
commit
357a506c20
|
@ -36,8 +36,7 @@ class ChannelNewsAsiaIE(InfoExtractor):
|
|||
webpage = self._download_webpage(url, display_id)
|
||||
url_obj = (
|
||||
re.search(r'<div.*video-asset-id="(?P<id>(?:\d|\w|-)+)".*</div>', webpage, flags=re.DOTALL)
|
||||
or re.search(r'<div.*data-video-id="(?P<id>(?:\d|\w|-)+)".*</div>', webpage, flags=re.DOTALL)
|
||||
)
|
||||
or re.search(r'<div.*data-video-id="(?P<id>(?:\d|\w|-)+)".*</div>', webpage, flags=re.DOTALL))
|
||||
|
||||
ooyala_id = url_obj.group('id')
|
||||
return self.url_result(
|
||||
|
|
Loading…
Reference in New Issue
Block a user