[ie/TwitCastingUser] Fix extraction (#8650)

Closes #8653
Authored by: bashonly
pull/8677/head
bashonly 2023-11-25 20:47:48 -06:00 zatwierdzone przez GitHub
rodzic deeb13eae8
commit ff2fde1b8f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -289,8 +289,7 @@ class TwitCastingUserIE(InfoExtractor):
webpage = self._download_webpage(
next_url, uploader_id, query={'filter': 'watchable'}, note='Downloading page %d' % page_num)
matches = re.finditer(
r'''(?isx)<a\s+class="tw-movie-thumbnail"\s*href="(?P<url>/[^/]+/movie/\d+)"\s*>.+?</a>''',
webpage)
r'(?s)<a\s+class="tw-movie-thumbnail2"\s+href="(?P<url>/[^/"]+/movie/\d+)"', webpage)
for mobj in matches:
yield self.url_result(urljoin(base_url, mobj.group('url')))