[la7] Support more URLs

This commit is contained in:
Philipp Hagemeister 2014-01-27 07:08:01 +01:00
parent 25c67d257c
commit 1da1558f46

View File

@ -10,7 +10,13 @@ from ..utils import (
class LA7IE(InfoExtractor): class LA7IE(InfoExtractor):
IE_NAME = 'la7.tv' 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 = { _TEST = {
'url': 'http://www.la7.tv/richplayer/?assetid=50355319', 'url': 'http://www.la7.tv/richplayer/?assetid=50355319',