aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/la7.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/la7.py')
-rw-r--r--youtube_dl/extractor/la7.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/youtube_dl/extractor/la7.py b/youtube_dl/extractor/la7.py
index a91b94ee9..6d61f9a90 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<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',