From 1da1558f462136da3ff1cc3f042439c6d5a73920 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 27 Jan 2014 07:08:01 +0100 Subject: [PATCH] [la7] Support more URLs --- youtube_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 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[0-9]+)' + _VALID_URL = r'''(?x) + https?://(?:www\.)?la7\.tv/ + (?: + richplayer/\?assetid=| + \?contentId= + ) + (?P[0-9]+)''' _TEST = { 'url': 'http://www.la7.tv/richplayer/?assetid=50355319',