Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Glen
youtube-dl
Commits
b99f11a5
Commit
b99f11a5
authored
Jul 13, 2019
by
Remita Amine
Browse files
[dlive] restrict DLive Stream _VALID_URL regex
parent
4a71ef6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
youtube_dl/extractor/dlive.py
youtube_dl/extractor/dlive.py
+1
-1
No files found.
youtube_dl/extractor/dlive.py
View file @
b99f11a5
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment