From 7c7d42e9b28fe9fbe4b6ce28fd8a0369d7a102c1 Mon Sep 17 00:00:00 2001 From: dirkf Date: Sat, 6 Mar 2021 05:26:11 +0000 Subject: [PATCH 1/5] Fix matching next page tag (BBCCoUkPlaylistBaseIE) Allow white space between tags as now sent by BBC. --- youtube_dl/extractor/bbc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index 92e6f1bea37..59ce1088e6a 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -1318,7 +1318,7 @@ def _entries(self, webpage, url, playlist_id): if single_page: return next_page = self._search_regex( - r']+class=(["\'])pagination_+next\1[^>]*>]+href=(["\'])(?P(?:(?!\2).)+)\2', + r']+class=(["\'])pagination_+next\1[^>]*>\s*]+href=(["\'])(?P(?:(?!\2).)+)\2', webpage, 'next page url', default=None, group='url') if not next_page: break From ef00fa77e9f200e6bfd77c545881ce1a165bb922 Mon Sep 17 00:00:00 2001 From: dirkf Date: Fri, 5 Mar 2021 23:05:32 +0000 Subject: [PATCH 2/5] Fix BBCCoUkIPlayerPlaylistIE The playlist metadata is now sent in a JSON expression within a