mirror of https://github.com/yt-dlp/yt-dlp.git
[extractor/naver] Improve `_VALID_URL` for `NaverNowIE` (#5620)
Authored by: bashonly
This commit is contained in:
parent
27c0f899c8
commit
d761dfd059
|
@ -254,7 +254,7 @@ class NaverLiveIE(InfoExtractor):
|
|||
|
||||
class NaverNowIE(NaverBaseIE):
|
||||
IE_NAME = 'navernow'
|
||||
_VALID_URL = r'https?://now\.naver\.com/s/now\.(?P<id>[0-9]+)'
|
||||
_VALID_URL = r'https?://now\.naver\.com/s/now\.(?P<id>\w+)'
|
||||
_API_URL = 'https://apis.naver.com/now_web/oldnow_web/v4'
|
||||
_TESTS = [{
|
||||
'url': 'https://now.naver.com/s/now.4759?shareReplayId=26331132#replay=',
|
||||
|
@ -313,6 +313,9 @@ class NaverNowIE(NaverBaseIE):
|
|||
'title': '아이키의 떰즈업',
|
||||
},
|
||||
'playlist_mincount': 101,
|
||||
}, {
|
||||
'url': 'https://now.naver.com/s/now.kihyunplay?shareReplayId=30573291#replay',
|
||||
'only_matching': True,
|
||||
}]
|
||||
|
||||
def _extract_replay(self, show_id, replay_id):
|
||||
|
|
Loading…
Reference in New Issue