diff options
author | Parmjit Virk <[email protected]> | 2017-07-01 21:09:57 -0500 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2017-07-02 20:04:51 +0700 |
commit | a3a6d01a9613566347ac39bac9cef3c4b8cd692f (patch) | |
tree | 51d2a56ff7cd9976165deaf241024e6a5028a506 /youtube_dl/extractor/thisoldhouse.py | |
parent | 02d61a65e27c9f186ea24bce8e9f0c65f4ec508a (diff) | |
download | youtube-dl-a3a6d01a9613566347ac39bac9cef3c4b8cd692f.tar.gz youtube-dl-a3a6d01a9613566347ac39bac9cef3c4b8cd692f.zip |
[thisoldhouse] Fix video id extraction (closes #13540)
Diffstat (limited to 'youtube_dl/extractor/thisoldhouse.py')
-rw-r--r-- | youtube_dl/extractor/thisoldhouse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/thisoldhouse.py b/youtube_dl/extractor/thisoldhouse.py index 197258df1..6a3efb9df 100644 --- a/youtube_dl/extractor/thisoldhouse.py +++ b/youtube_dl/extractor/thisoldhouse.py @@ -31,5 +31,5 @@ class ThisOldHouseIE(InfoExtractor): 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) |