]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[nrktv] Relax _VALID_URL (closes #18304, closes #18387)
authorSergey M․ <dstftw@gmail.com>
Thu, 6 Dec 2018 17:00:06 +0000 (00:00 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 6 Dec 2018 17:00:06 +0000 (00:00 +0700)
youtube_dl/extractor/nrk.py

index a231735fb79aa18140e3f4e5bdd80fb416b8020c..c5001ef4869f13c7a5f95c0f904715e0f7c9825f 100644 (file)
@@ -248,7 +248,7 @@ class NRKTVIE(NRKBaseIE):
     _VALID_URL = r'''(?x)
                         https?://
                             (?:tv|radio)\.nrk(?:super)?\.no/
-                            (?:serie/[^/]+|program)/
+                            (?:serie(?:/[^/]+){1,2}|program)/
                             (?![Ee]pisodes)%s
                             (?:/\d{2}-\d{2}-\d{4})?
                             (?:\#del=(?P<part_id>\d+))?
@@ -362,6 +362,9 @@ class NRKTVIE(NRKBaseIE):
     }, {
         'url': 'https://radio.nrk.no/serie/dagsnytt/NPUB21019315/12-07-2015#',
         'only_matching': True,
+    }, {
+        'url': 'https://tv.nrk.no/serie/lindmo/2018/MUHU11006318/avspiller',
+        'only_matching': True,
     }]