youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 1da1558f462136da3ff1cc3f042439c6d5a73920
parent 25c67d257cb033ec90752d79583e94592e9896cd
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 27 Jan 2014 07:08:01 +0100

[la7] Support more URLs

Diffstat:
Myoutube_dl/extractor/la7.py | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 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',