projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a71ef6
)
[dlive] restrict DLive Stream _VALID_URL regex
author
Remita Amine
<remitamine@gmail.com>
Sat, 13 Jul 2019 13:11:57 +0000
(14:11 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 13 Jul 2019 13:11:57 +0000
(14:11 +0100)
youtube_dl/extractor/dlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dlive.py
b/youtube_dl/extractor/dlive.py
index b81eaecce2f3bcd237241a274dc45a5ddf027223..8787f15a698c8057b2f69c907e40f838d3e12e10 100644
(file)
--- 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)