diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2023-11-25 20:47:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 02:47:48 +0000 |
commit | ff2fde1b8f922fd34bae6172602008cd67c07c93 (patch) | |
tree | 721d5d4a18d7c9f6f19735dacaf90caa8a3279a3 /yt_dlp/extractor/twitcasting.py | |
parent | deeb13eae82e60f82a2c0c5861f460399a997528 (diff) |
[ie/TwitCastingUser] Fix extraction (#8650)
Closes #8653
Authored by: bashonly
Diffstat (limited to 'yt_dlp/extractor/twitcasting.py')
-rw-r--r-- | yt_dlp/extractor/twitcasting.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/twitcasting.py b/yt_dlp/extractor/twitcasting.py index 3c303bdbb..28ea16cc2 100644 --- a/yt_dlp/extractor/twitcasting.py +++ b/yt_dlp/extractor/twitcasting.py @@ -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'))) |