mirror of https://github.com/yt-dlp/yt-dlp.git
[la7] Support more URLs
This commit is contained in:
parent
25c67d257c
commit
1da1558f46
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue