mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
[ie/TwitCastingUser] Fix extraction (#8650)
Closes #8653 Authored by: bashonly
This commit is contained in:
parent
deeb13eae8
commit
ff2fde1b8f
|
@ -289,8 +289,7 @@ def _entries(self, uploader_id):
|
||||||
webpage = self._download_webpage(
|
webpage = self._download_webpage(
|
||||||
next_url, uploader_id, query={'filter': 'watchable'}, note='Downloading page %d' % page_num)
|
next_url, uploader_id, query={'filter': 'watchable'}, note='Downloading page %d' % page_num)
|
||||||
matches = re.finditer(
|
matches = re.finditer(
|
||||||
r'''(?isx)<a\s+class="tw-movie-thumbnail"\s*href="(?P<url>/[^/]+/movie/\d+)"\s*>.+?</a>''',
|
r'(?s)<a\s+class="tw-movie-thumbnail2"\s+href="(?P<url>/[^/"]+/movie/\d+)"', webpage)
|
||||||
webpage)
|
|
||||||
for mobj in matches:
|
for mobj in matches:
|
||||||
yield self.url_result(urljoin(base_url, mobj.group('url')))
|
yield self.url_result(urljoin(base_url, mobj.group('url')))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user