From be9c0884d7af01f9b658975a98a91d71c420d34f Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 7 Sep 2022 17:28:53 +0530 Subject: [PATCH] [extractor/BiliIntlSeries] Fix `_VALID_URL` Closes #4825 --- yt_dlp/extractor/bilibili.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/bilibili.py b/yt_dlp/extractor/bilibili.py index 59f5791d1..7e63dad0f 100644 --- a/yt_dlp/extractor/bilibili.py +++ b/yt_dlp/extractor/bilibili.py @@ -975,7 +975,7 @@ def _real_extract(self, url): class BiliIntlSeriesIE(BiliIntlBaseIE): - _VALID_URL = r'https?://(?:www\.)?bili(?:bili\.tv|intl\.com)/(?:[a-z]{2}/)?play/(?P\d+)$' + _VALID_URL = r'https?://(?:www\.)?bili(?:bili\.tv|intl\.com)/(?:[a-z]{2}/)?play/(?P\d+)/?(?:[?#]|$)' _TESTS = [{ 'url': 'https://www.bilibili.tv/en/play/34613', 'playlist_mincount': 15,