diff options
author | Philipp Hagemeister <[email protected]> | 2014-01-27 07:08:01 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-01-27 07:08:01 +0100 |
commit | 1da1558f462136da3ff1cc3f042439c6d5a73920 (patch) | |
tree | 601cf28e05a223cc05e6fd4ec78c88f6919b4a0f /youtube_dl/extractor | |
parent | 25c67d257cb033ec90752d79583e94592e9896cd (diff) | |
download | youtube-dl-1da1558f462136da3ff1cc3f042439c6d5a73920.tar.gz youtube-dl-1da1558f462136da3ff1cc3f042439c6d5a73920.zip |
[la7] Support more URLs
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/la7.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/youtube_dl/extractor/la7.py b/youtube_dl/extractor/la7.py index a91b94ee9..6d61f9a90 100644 --- a/youtube_dl/extractor/la7.py +++ b/youtube_dl/extractor/la7.py @@ -10,7 +10,13 @@ from ..utils import ( class LA7IE(InfoExtractor): IE_NAME = 'la7.tv' - _VALID_URL = r'https?://(?:www\.)?la7\.tv/richplayer/\?assetid=(?P<id>[0-9]+)' + _VALID_URL = r'''(?x) + https?://(?:www\.)?la7\.tv/ + (?: + richplayer/\?assetid=| + \?contentId= + ) + (?P<id>[0-9]+)''' _TEST = { 'url': 'http://www.la7.tv/richplayer/?assetid=50355319', |