aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/aenetworks.py
diff options
context:
space:
mode:
authorAniruddh-J <anirudha1987@gmail.com>2017-02-12 17:48:11 +0530
committerSergey M <dstftw@gmail.com>2017-02-12 20:18:11 +0800
commit459818e2808e0dfccc5a3efb7c053afa847cb632 (patch)
tree89ccfe14665370cbb52cd9d75e4098b41da57bbb /youtube_dl/extractor/aenetworks.py
parent6310acf512136a1e37ef5905c4bdce8cf14ba5a5 (diff)
downloadyoutube-dl-459818e2808e0dfccc5a3efb7c053afa847cb632.zip
youtube-dl-459818e2808e0dfccc5a3efb7c053afa847cb632.tar.gz
youtube-dl-459818e2808e0dfccc5a3efb7c053afa847cb632.tar.bz2
[aenetworks] Add support for lifetimemovieclub.com
Diffstat (limited to 'youtube_dl/extractor/aenetworks.py')
-rw-r--r--youtube_dl/extractor/aenetworks.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/aenetworks.py b/youtube_dl/extractor/aenetworks.py
index c973174..dd96a47 100644
--- a/youtube_dl/extractor/aenetworks.py
+++ b/youtube_dl/extractor/aenetworks.py
@@ -23,7 +23,7 @@ class AENetworksBaseIE(ThePlatformIE):
class AENetworksIE(AENetworksBaseIE):
IE_NAME = 'aenetworks'
IE_DESC = 'A+E Networks: A&E, Lifetime, History.com, FYI Network'
- _VALID_URL = r'https?://(?:www\.)?(?P<domain>(?:history|aetv|mylifetime)\.com|fyi\.tv)/(?:shows/(?P<show_path>[^/]+(?:/[^/]+){0,2})|movies/(?P<movie_display_id>[^/]+)/full-movie)'
+ _VALID_URL = r'https?://(?:www\.)?(?P<domain>(?:history|aetv|mylifetime|lifetimemovieclub)\.com|fyi\.tv)/(?:shows/(?P<show_path>[^/]+(?:/[^/]+){0,2})|movies/(?P<movie_display_id>[^/]+)(?:/full-movie)?)'
_TESTS = [{
'url': 'http://www.history.com/shows/mountain-men/season-1/episode-1',
'md5': 'a97a65f7e823ae10e9244bc5433d5fe6',
@@ -62,11 +62,15 @@ class AENetworksIE(AENetworksBaseIE):
}, {
'url': 'http://www.mylifetime.com/movies/center-stage-on-pointe/full-movie',
'only_matching': True
+ }, {
+ 'url': 'https://www.lifetimemovieclub.com/movies/a-killer-among-us',
+ 'only_matching': True
}]
_DOMAIN_TO_REQUESTOR_ID = {
'history.com': 'HISTORY',
'aetv.com': 'AETV',
'mylifetime.com': 'LIFETIME',
+ 'lifetimemovieclub.com': 'LIFETIMEMOVIECLUB',
'fyi.tv': 'FYI',
}