projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d61a6
)
[thisoldhouse] Fix video id extraction (closes #13540)
author
Parmjit Virk
<pvirk@mts.net>
Sun, 2 Jul 2017 02:09:57 +0000
(21:09 -0500)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 2 Jul 2017 13:04:51 +0000
(20:04 +0700)
youtube_dl/extractor/thisoldhouse.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/thisoldhouse.py
b/youtube_dl/extractor/thisoldhouse.py
index 197258df141b4b6864afa0e4c1df7d0db431f64e..6a3efb9df5041385e60207bdca495f0411a0a3f8 100644
(file)
--- 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)