[afreecatv] Match new vod url (#3097)

Authored by: wlritchi
This commit is contained in:
Luc Ritchie 2022-03-18 05:53:07 -04:00 committed by GitHub
parent 43c38abd1f
commit 028f6437f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ class AfreecaTVIE(InfoExtractor):
/app/(?:index|read_ucc_bbs)\.cgi| /app/(?:index|read_ucc_bbs)\.cgi|
/player/[Pp]layer\.(?:swf|html) /player/[Pp]layer\.(?:swf|html)
)\?.*?\bnTitleNo=| )\?.*?\bnTitleNo=|
vod\.afreecatv\.com/PLAYER/STATION/ vod\.afreecatv\.com/(PLAYER/STATION|player)/
) )
(?P<id>\d+) (?P<id>\d+)
''' '''
@ -170,6 +170,9 @@ class AfreecaTVIE(InfoExtractor):
}, { }, {
'url': 'http://vod.afreecatv.com/PLAYER/STATION/15055030', 'url': 'http://vod.afreecatv.com/PLAYER/STATION/15055030',
'only_matching': True, 'only_matching': True,
}, {
'url': 'http://vod.afreecatv.com/player/15055030',
'only_matching': True,
}] }]
@staticmethod @staticmethod