[extractor/naver] Improve `_VALID_URL` for `NaverNowIE` (#5620)

Authored by: bashonly
pull/6056/head
bashonly 2 years ago committed by GitHub
parent 27c0f899c8
commit d761dfd059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save