aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/la7.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-27 07:08:01 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-27 07:08:01 +0100
commit1da1558f462136da3ff1cc3f042439c6d5a73920 (patch)
tree601cf28e05a223cc05e6fd4ec78c88f6919b4a0f /youtube_dl/extractor/la7.py
parent25c67d257cb033ec90752d79583e94592e9896cd (diff)
[la7] Support more URLs
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',