From: bashonly Date: Sun, 26 Nov 2023 02:47:48 +0000 (-0600) Subject: [ie/TwitCastingUser] Fix extraction (#8650) X-Git-Tag: 2023.12.30~46 X-Git-Url: https://jfr.im/git/yt-dlp.git/commitdiff_plain/ff2fde1b8f922fd34bae6172602008cd67c07c93 [ie/TwitCastingUser] Fix extraction (#8650) Closes #8653 Authored by: bashonly --- 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 @@ def _entries(self, uploader_id): 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')))