]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[la7] Support more URLs
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 27 Jan 2014 06:08:01 +0000 (07:08 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 27 Jan 2014 06:08:01 +0000 (07:08 +0100)
youtube_dl/extractor/la7.py

index a91b94ee9e80314a898a761fd30c87768e1b4dc8..6d61f9a90c54534cabc3b09c74f63f6a7c1c707f 100644 (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',