1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[extractor/BiliIntlSeries] Fix _VALID_URL

Closes #4825
This commit is contained in:
pukkandan 2022-09-07 17:28:53 +05:30
parent 48c8424bd9
commit be9c0884d7
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -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<id>\d+)$'
_VALID_URL = r'https?://(?:www\.)?bili(?:bili\.tv|intl\.com)/(?:[a-z]{2}/)?play/(?P<id>\d+)/?(?:[?#]|$)'
_TESTS = [{
'url': 'https://www.bilibili.tv/en/play/34613',
'playlist_mincount': 15,