mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
[dlive] restrict DLive Stream _VALID_URL regex
This commit is contained in:
parent
4a71ef6da6
commit
b99f11a56b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class DLiveVODIE(InfoExtractor):
|
||||||
|
|
||||||
class DLiveStreamIE(InfoExtractor):
|
class DLiveStreamIE(InfoExtractor):
|
||||||
IE_NAME = 'dlive:stream'
|
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):
|
def _real_extract(self, url):
|
||||||
display_name = self._match_id(url)
|
display_name = self._match_id(url)
|
||||||
|
|
Loading…
Reference in a new issue