[daum.net:user] Match more URLs (#1952)
authorYen Chi Hsuan <yan12125@gmail.com>
Mon, 1 Feb 2016 10:26:23 +0000 (18:26 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 1 Feb 2016 10:26:23 +0000 (18:26 +0800)
youtube_dl/extractor/daum.py

index 9fce845e1951b3debc2eae0fdfb8bd9b00777c6a..c84c5105886c73f613ef3adae1a7e1831be83f1d 100644 (file)
@@ -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):