1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 21:22:13 +00:00

[NhkRadio] fix error from flake8

This commit is contained in:
guredora 2021-04-05 17:50:39 +09:00
parent 2bbe77d484
commit 7bb932b964

View file

@ -26,7 +26,7 @@ class NhkRadioBase(InfoExtractor):
def _extract_program(self, info, program_corner_id):
id = program_corner_id + "_" + info.get("headline_id")
file = info.get("file_list")[0]
formats = self._extract_m3u8_formats(file.get("file_name"), id, "m4a", entry_protocol = "m3u8_native")
formats = self._extract_m3u8_formats(file.get("file_name"), id, "m4a", entry_protocol="m3u8_native", m3u8_id="hls")
self._sort_formats(formats)
return {
"id": id,