Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libre
youtube-dl
Commits
1ca5f821
Unverified
Commit
1ca5f821
authored
Sep 20, 2020
by
nixxo
Committed by
GitHub
Sep 20, 2020
Browse files
[redtube] Extend _VALID_URL (#26506)
parent
defc820b
Changes
1
Hide whitespace changes
Inline
Side-by-side
youtube_dl/extractor/redtube.py
View file @
1ca5f821
...
...
@@ -15,7 +15,7 @@ from ..utils import (
class
RedTubeIE
(
InfoExtractor
):
_VALID_URL
=
r
'https?://(?:(?:
www
\.)?redtube\.com/|embed\.redtube\.com/\?.*?\bid=)(?P<id>[0-9]+)'
_VALID_URL
=
r
'https?://(?:(?:
\w+
\.)?redtube\.com/|embed\.redtube\.com/\?.*?\bid=)(?P<id>[0-9]+)'
_TESTS
=
[{
'url'
:
'http://www.redtube.com/66418'
,
'md5'
:
'fc08071233725f26b8f014dba9590005'
,
...
...
@@ -31,6 +31,9 @@ class RedTubeIE(InfoExtractor):
},
{
'url'
:
'http://embed.redtube.com/?bgcolor=000000&id=1443286'
,
'only_matching'
:
True
,
},
{
'url'
:
'http://it.redtube.com/66418'
,
'only_matching'
:
True
,
}]
@
staticmethod
...
...
Write
Preview
Supports
Markdown
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