From: Remita Amine Date: Sat, 13 Jul 2019 13:11:57 +0000 (+0100) Subject: [dlive] restrict DLive Stream _VALID_URL regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b99f11a56b64b647366a00c335a4a55f3e9e1854;p=youtube-dl [dlive] restrict DLive Stream _VALID_URL regex --- 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[\w.-]+)' + _VALID_URL = r'https?://(?:www\.)?dlive\.tv/(?!p/)(?P[\w.-]+)' def _real_extract(self, url): display_name = self._match_id(url)