[dlive] restrict DLive Stream _VALID_URL regex
authorRemita Amine <remitamine@gmail.com>
Sat, 13 Jul 2019 13:11:57 +0000 (14:11 +0100)
committerRemita Amine <remitamine@gmail.com>
Sat, 13 Jul 2019 13:11:57 +0000 (14:11 +0100)
youtube_dl/extractor/dlive.py

index b81eaecce2f3bcd237241a274dc45a5ddf027223..8787f15a698c8057b2f69c907e40f838d3e12e10 100644 (file)
@@ -55,7 +55,7 @@ class DLiveVODIE(InfoExtractor):
 
 class DLiveStreamIE(InfoExtractor):
     IE_NAME = 'dlive:stream'
-    _VALID_URL = r'https?://(?:www\.)?dlive\.tv/(?P<id>[\w.-]+)'
+    _VALID_URL = r'https?://(?:www\.)?dlive\.tv/(?!p/)(?P<id>[\w.-]+)'
 
     def _real_extract(self, url):
         display_name = self._match_id(url)