summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-16 00:28:04 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-16 00:28:04 +0600
commit9a4acbfaf58f7334bdd8a3b66dadf331f1ce1d7b (patch)
tree706b92f1467cbe4bf0d29aa6fc548375c6fc2276
parentad1f4e7902464532ba11f3a09ac6ff2312b01661 (diff)
downloadyoutube-dl-9a4acbfaf58f7334bdd8a3b66dadf331f1ce1d7b.tar.gz
youtube-dl-9a4acbfaf58f7334bdd8a3b66dadf331f1ce1d7b.tar.xz
youtube-dl-9a4acbfaf58f7334bdd8a3b66dadf331f1ce1d7b.zip
[theplatform] Add test for #7385
-rw-r--r--youtube_dl/extractor/theplatform.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py
index 114c70b7c..43315e75d 100644
--- a/youtube_dl/extractor/theplatform.py
+++ b/youtube_dl/extractor/theplatform.py
@@ -139,6 +139,11 @@ class ThePlatformIE(ThePlatformBaseIE):
             'upload_date': '20150701',
             'categories': ['Today/Shows/Orange Room', 'Today/Sections/Money', 'Today/Topics/Tech', "Today/Topics/Editor's picks"],
         },
+    }, {
+        # From http://www.nbc.com/the-blacklist/video/sir-crispin-crandall/2928790?onid=137781#vc137781=1
+        # geo-restricted (US), HLS encrypted with AES-128
+        'url': 'http://player.theplatform.com/p/NnzsPC/onsite_universal/select/media/guid/2410887629/2928790?fwsitesection=nbc_the_blacklist_video_library&autoPlay=true&carouselID=137781',
+        'only_matching': True,
     }]
 
     @staticmethod