🗃 Pretty json

This commit is contained in:
2021-04-11 03:58:03 +03:00
parent 22ceca360c
commit da99ec6b92
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -4,5 +4,5 @@ venv/
client_secret*.json client_secret*.json
*-oauth2.json *-oauth2.json
output.json download_list.json
output/ output/

View File

@@ -83,7 +83,7 @@ else:
c.print('All done! 🎉') c.print('All done! 🎉')
c.print('Saving to download_list.json...', style='italic') c.print('Saving to download_list.json...', style='italic')
f = open("download_list.json", "w", encoding='utf-8') f = open("download_list.json", "w", encoding='utf-8')
f.write(json.dumps(all_channels)) f.write(json.dumps(all_channels, indent=4))
f.close() f.close()
for ch in all_channels: for ch in all_channels: