mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 03:27:15 +08:00
[ThisOldHouse] Fetch VideoId from updated JSON data
This commit is contained in:
parent
02d61a65e2
commit
0894b2937d
@ -31,5 +31,5 @@ class ThisOldHouseIE(InfoExtractor):
|
|||||||
drupal_settings = self._parse_json(self._search_regex(
|
drupal_settings = self._parse_json(self._search_regex(
|
||||||
r'jQuery\.extend\(Drupal\.settings\s*,\s*({.+?})\);',
|
r'jQuery\.extend\(Drupal\.settings\s*,\s*({.+?})\);',
|
||||||
webpage, 'drupal settings'), display_id)
|
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)
|
return self.url_result('jwplatform:' + video_id, 'JWPlatform', video_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user