aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-02-01 18:26:23 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-02-01 18:26:23 +0800
commitdc724e0c8bceee1eda28513d5e9531bc926d9a3b (patch)
tree5fecb89b53fd422d5d88c736dd248927b96b7a8e
parent0a5d1ec706612d066fa86e3622afc0a77223dcdf (diff)
[daum.net:user] Match more URLs (#1952)
-rw-r--r--youtube_dl/extractor/daum.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/daum.py b/youtube_dl/extractor/daum.py
index 9fce845e1..c84c51058 100644
--- a/youtube_dl/extractor/daum.py
+++ b/youtube_dl/extractor/daum.py
@@ -242,7 +242,7 @@ class DaumPlaylistIE(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'
_TESTS = [{
@@ -276,6 +276,9 @@ class DaumUserIE(DaumListIE):
}, {
'url': 'http://tvpot.daum.net/mypot/Top.do?ownerid=o2scDLIVbHc0',
'only_matching': True,
+ }, {
+ 'url': 'http://m.tvpot.daum.net/mypot/Top.tv?ownerid=45x1okb1If50&playlistid=3569733',
+ 'only_matching': True,
}]
def _real_extract(self, url):