mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-23 23:32:25 +00:00
[ie/ntvcojp] fix _VALID_URL regexp
Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ class NTVCoJpCUIE(StreaksBaseIE):
|
|||||||
IE_NAME = 'ntvjp:cu'
|
IE_NAME = 'ntvjp:cu'
|
||||||
IE_DESC = '日テレ無料TADA!'
|
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 = [{
|
_TESTS = [{
|
||||||
'url': 'https://cu.ntv.co.jp/gaki_20250525/',
|
'url': 'https://cu.ntv.co.jp/gaki_20250525/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
|||||||
Reference in New Issue
Block a user