Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
1d6ae562
Unverified
Commit
1d6ae562
authored
Nov 22, 2016
by
Yen Chi Hsuan
Browse files
[amcnetworks] Recognize more BBC America URLs
Closes #11263
parent
6334794f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ChangeLog
ChangeLog
+1
-0
youtube_dl/extractor/amcnetworks.py
youtube_dl/extractor/amcnetworks.py
+4
-1
No files found.
ChangeLog
View file @
1d6ae562
version <unreleased>
Extractors
+ [amcnetworks] Recognize more BBC America URLs (#11263)
- [Crunchyroll] ScaledBorderAndShadow are removed from ASS subtitles
(#8207, #9028)
...
...
youtube_dl/extractor/amcnetworks.py
View file @
1d6ae562
...
...
@@ -10,7 +10,7 @@ from ..utils import (
class
AMCNetworksIE
(
ThePlatformIE
):
_VALID_URL
=
r
'https?://(?:www\.)?(?:amc|bbcamerica|ifc|wetv)\.com/(?:movies/|shows/[^/]+/(?:full-episodes/)?
season-\d
+/episode-\d+(?:-(?:[^/]+/)?|/))(?P<id>[^/?#]+)'
_VALID_URL
=
r
'https?://(?:www\.)?(?:amc|bbcamerica|ifc|wetv)\.com/(?:movies/|shows/[^/]+/(?:full-episodes/)?
[^/]
+/episode-\d+(?:-(?:[^/]+/)?|/))(?P<id>[^/?#]+)'
_TESTS
=
[{
'url'
:
'http://www.ifc.com/shows/maron/season-04/episode-01/step-1'
,
'md5'
:
''
,
...
...
@@ -41,6 +41,9 @@ class AMCNetworksIE(ThePlatformIE):
},
{
'url'
:
'http://www.ifc.com/movies/chaos'
,
'only_matching'
:
True
,
},
{
'url'
:
'http://www.bbcamerica.com/shows/doctor-who/full-episodes/the-power-of-the-daleks/episode-01-episode-1-color-version'
,
'only_matching'
:
True
,
}]
def
_real_extract
(
self
,
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