1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 10:29:28 +00:00

[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):
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',