Commit b99f11a5 authored by Remita Amine's avatar Remita Amine
Browse files

[dlive] restrict DLive Stream _VALID_URL regex

parent 4a71ef6d
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment