mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-16 14:34:31 +01:00
[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
Block a user