mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 02:05:34 +08:00
[lci] Fix extraction (closes #17274)
This commit is contained in:
parent
6f356cbbcf
commit
bf1245d236
@ -20,5 +20,7 @@ class LCIIE(InfoExtractor):
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_id(url)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
wat_id = self._search_regex(r'data-watid=[\'"](\d+)', webpage, 'wat id')
|
||||
wat_id = self._search_regex(
|
||||
(r'data-watid=[\'"](\d+)', r'idwat["\']?\s*:\s*["\']?(\d+)'),
|
||||
webpage, 'wat id')
|
||||
return self.url_result('wat:' + wat_id, 'Wat', wat_id)
|
||||
|
Loading…
Reference in New Issue
Block a user