From ff2fde1b8f922fd34bae6172602008cd67c07c93 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Sat, 25 Nov 2023 20:47:48 -0600 Subject: [PATCH] [ie/TwitCastingUser] Fix extraction (#8650) Closes #8653 Authored by: bashonly --- yt_dlp/extractor/twitcasting.py | 3 +-- 1 file changed, 1 insertion(+), 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)/[^/]+/movie/\d+)"\s*>.+?''', - webpage) + r'(?s)/[^/"]+/movie/\d+)"', webpage) for mobj in matches: yield self.url_result(urljoin(base_url, mobj.group('url')))