summary refs log tree commit diff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-07-13 14:11:57 +0100
committerRemita Amine <remitamine@gmail.com>2019-07-13 14:11:57 +0100
commitb99f11a56b64b647366a00c335a4a55f3e9e1854 (patch)
treee3d4b58e920f66f5314d0488191c1e06553b885b
parent4a71ef6da677bfd08b39d5cb6f584be9f6b2fc27 (diff)
downloadyoutube-dl-b99f11a56b64b647366a00c335a4a55f3e9e1854.tar.gz
youtube-dl-b99f11a56b64b647366a00c335a4a55f3e9e1854.tar.xz
youtube-dl-b99f11a56b64b647366a00c335a4a55f3e9e1854.zip
[dlive] restrict DLive Stream _VALID_URL regex
-rw-r--r--youtube_dl/extractor/dlive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dlive.py b/youtube_dl/extractor/dlive.py
index b81eaecce..8787f15a6 100644
--- a/youtube_dl/extractor/dlive.py
+++ b/youtube_dl/extractor/dlive.py
@@ -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)