0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00:00

[daum.net:user] Match more URLs (#1952)

This commit is contained in:
Yen Chi Hsuan 2016-02-01 18:26:23 +08:00
parent 0a5d1ec706
commit dc724e0c8b

View file

@ -242,7 +242,7 @@ def _real_extract(self, url):
class DaumUserIE(DaumListIE): class DaumUserIE(DaumListIE):
_VALID_URL = r'https?://(?:m\.)?tvpot\.daum\.net/mypot/(?:View|Top)\.do\?.*?ownerid=(?P<id>[0-9a-zA-Z]+)' _VALID_URL = r'https?://(?:m\.)?tvpot\.daum\.net/mypot/(?:View|Top)\.(?:do|tv)\?.*?ownerid=(?P<id>[0-9a-zA-Z]+)'
IE_NAME = 'daum.net:user' IE_NAME = 'daum.net:user'
_TESTS = [{ _TESTS = [{
@ -276,6 +276,9 @@ class DaumUserIE(DaumListIE):
}, { }, {
'url': 'http://tvpot.daum.net/mypot/Top.do?ownerid=o2scDLIVbHc0', 'url': 'http://tvpot.daum.net/mypot/Top.do?ownerid=o2scDLIVbHc0',
'only_matching': True, 'only_matching': True,
}, {
'url': 'http://m.tvpot.daum.net/mypot/Top.tv?ownerid=45x1okb1If50&playlistid=3569733',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):