1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-10-02 23:47:08 +02:00

code style

This commit is contained in:
pukkandan 2022-05-01 18:16:09 -07:00 committed by GitHub
parent 7e6a4cb3dc
commit fbdb7f5b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,14 +76,12 @@ def _real_extract(self, url):
f_hls = f.get('hls')
if f_hls is not None:
formats.extend(self._extract_m3u8_formats(
f_hls, video_id, 'mp4', 'm3u8_native', m3u8_id='hls',
headers=self.__HEADERS))
f_hls, video_id, 'mp4', 'm3u8_native', m3u8_id='hls', headers=self.__HEADERS))
f_dash = f.get('dash')
if f_dash is not None:
formats.extend(self._extract_mpd_formats(
f_dash, video_id, mpd_id='dash',
headers=self.__HEADERS))
f_dash, video_id, mpd_id='dash', headers=self.__HEADERS))
for fmt in formats:
fmt.update({