From a3a6d01a9613566347ac39bac9cef3c4b8cd692f Mon Sep 17 00:00:00 2001 From: Parmjit Virk Date: Sat, 1 Jul 2017 21:09:57 -0500 Subject: [PATCH] [thisoldhouse] Fix video id extraction (closes #13540) --- youtube_dl/extractor/thisoldhouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/thisoldhouse.py b/youtube_dl/extractor/thisoldhouse.py index 197258df14..6a3efb9df5 100644 --- a/youtube_dl/extractor/thisoldhouse.py +++ b/youtube_dl/extractor/thisoldhouse.py @@ -31,5 +31,5 @@ def _real_extract(self, url): drupal_settings = self._parse_json(self._search_regex( r'jQuery\.extend\(Drupal\.settings\s*,\s*({.+?})\);', webpage, 'drupal settings'), display_id) - video_id = drupal_settings['jwplatform']['video_id'] + video_id = list(drupal_settings['comScore'])[0] return self.url_result('jwplatform:' + video_id, 'JWPlatform', video_id)