mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-06 01:22:35 +00:00
[NhkRadio] fix error from flake8
This commit is contained in:
parent
7bb932b964
commit
2730e55b36
@ -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", m3u8_id="hls")
|
||||
formats = self._extract_m3u8_formats(file.get("file_name", None), id, "m4a", entry_protocol="m3u8_native", m3u8_id="hls")
|
||||
self._sort_formats(formats)
|
||||
return {
|
||||
"id": id,
|
||||
|
Loading…
Reference in New Issue
Block a user