diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py index 8ebdf9f58..d89c044d2 100644 --- a/youtube_dl/extractor/yahoo.py +++ b/youtube_dl/extractor/yahoo.py @@ -688,7 +688,7 @@ class YahooJapanNewsIE(InfoExtractor): content_id = self._search_regex( r']+class=["\']yvpub-player["\'][^>]+contentid=(?P[^&"\']+)', webpage, 'contentid', group='contentid') - # md5 hash of space_id + '_headlines.yahoo.co.jp' + # md5 hash of space_id + '_' + host ak = hashlib.md5('_'.join((space_id, host)).encode()).hexdigest() json_data = self._download_json(