X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fla7.py;h=db2028e9f5148d37f69f0d7c4c41fbbb77d88928;hb=bd1f325b427eaea944b4b01ef4ee7c3559caac5c;hp=a91b94ee9e80314a898a761fd30c87768e1b4dc8;hpb=a17d16d59cc39e786d572000df34bcf3f1e3804a;p=youtube-dl diff --git a/youtube_dl/extractor/la7.py b/youtube_dl/extractor/la7.py index a91b94ee9..db2028e9f 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', @@ -20,7 +26,8 @@ class LA7IE(InfoExtractor): 'title': 'IL DIVO', 'description': 'Un film di Paolo Sorrentino con Toni Servillo, Anna Bonaiuto, Giulio Bosetti e Flavio Bucci', 'duration': 6254, - } + }, + 'skip': 'Blocked in the US', } def _real_extract(self, url):