logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: b99f11a56b64b647366a00c335a4a55f3e9e1854
parent 4a71ef6da677bfd08b39d5cb6f584be9f6b2fc27
Author: Remita Amine <remitamine@gmail.com>
Date:   Sat, 13 Jul 2019 14:11:57 +0100

[dlive] restrict DLive Stream _VALID_URL regex

Diffstat:

Myoutube_dl/extractor/dlive.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)