]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[philharmoniedeparis] Relax _VALID_URL (closes #21672)
authorSergey M․ <dstftw@gmail.com>
Sat, 6 Jul 2019 16:16:38 +0000 (23:16 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 6 Jul 2019 16:17:45 +0000 (23:17 +0700)
youtube_dl/extractor/philharmoniedeparis.py

index f723a2b3b507d5aa59428dd4f44057f7bbe3f655..03da64b116128f01893f047e747a1fb40af1e2df 100644 (file)
@@ -14,7 +14,7 @@ class PhilharmonieDeParisIE(InfoExtractor):
     _VALID_URL = r'''(?x)
                     https?://
                         (?:
-                            live\.philharmoniedeparis\.fr/(?:[Cc]oncert/|misc/Playlist\.ashx\?id=)|
+                            live\.philharmoniedeparis\.fr/(?:[Cc]oncert/|embed(?:app)?/|misc/Playlist\.ashx\?id=)|
                             pad\.philharmoniedeparis\.fr/doc/CIMU/
                         )
                         (?P<id>\d+)
@@ -40,6 +40,12 @@ class PhilharmonieDeParisIE(InfoExtractor):
     }, {
         'url': 'http://live.philharmoniedeparis.fr/misc/Playlist.ashx?id=1030324&track=&lang=fr',
         'only_matching': True,
+    }, {
+        'url': 'https://live.philharmoniedeparis.fr/embedapp/1098406/berlioz-fantastique-lelio-les-siecles-national-youth-choir-of.html?lang=fr-FR',
+        'only_matching': True,
+    }, {
+        'url': 'https://live.philharmoniedeparis.fr/embed/1098406/berlioz-fantastique-lelio-les-siecles-national-youth-choir-of.html?lang=fr-FR',
+        'only_matching': True,
     }]
     _LIVE_URL = 'https://live.philharmoniedeparis.fr'