1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-01-23 15:21:32 +00:00

[ie/ntvcojp] fix _VALID_URL regexp

Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
This commit is contained in:
nullpos
2025-05-28 00:03:11 +09:00
committed by GitHub
parent 5c4bb0a601
commit bec7845d77

View File

@@ -12,7 +12,7 @@ class NTVCoJpCUIE(StreaksBaseIE):
IE_NAME = 'ntvjp:cu'
IE_DESC = '日テレ無料TADA!'
_VALID_URL = r'https?://cu\.ntv\.co\.jp/(?!program-list)(?P<id>[\w-]+)/?$'
_VALID_URL = r'https?://cu\.ntv\.co\.jp/(?!program-list|search)(?P<id>[\w-]+)/?(?:[?#]|$)'
_TESTS = [{
'url': 'https://cu.ntv.co.jp/gaki_20250525/',
'info_dict': {