1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-10-02 23:47:08 +02:00

Update yt_dlp/extractor/noodlemagazine.py regex

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
BallzCrasher 2024-10-02 13:06:59 +00:00 committed by GitHub
parent a871477c69
commit 4f01a38183
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ def build_url(url_or_path):
return urljoin('https://adult.noodlemagazine.com', url_or_path)
playlist_info = self._search_json(
r'window\.playlist\s*=\s*', webpage, video_id, 'playlist info')
r'window\.playlist\s*=', webpage, video_id, 'playlist info')
formats = []
for source in traverse_obj(playlist_info, ('sources', lambda _, v: v['file'])):