From 9a638de694b741eb1e46da5a48f9cef0e3b5ced8 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 21 Jul 2019 18:32:53 +0900 Subject: [PATCH] Generalize md5 hash comment --- youtube_dl/extractor/yahoo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(