Cleanup some code (see desc)

* `--get-comments` doesn't imply `--write-info-json` if `-J`, `-j` or `--print-json` are used
* Don't pass `config_location` to `YoutubeDL` (it is unused)
* [bilibiliaudio] Recognize the file as audio-only
* Update gitignore
* Fix typos
This commit is contained in:
pukkandan 2021-02-28 20:55:32 +05:30
parent 277d6ff5f2
commit f0884c8b3f
5 changed files with 16 additions and 7 deletions

8
.gitignore vendored
View file

@ -8,6 +8,7 @@ dist/
zip/
tmp/
venv/
completions/
# Misc
*~
@ -34,8 +35,9 @@ README.txt
*.spec
# Binary
youtube-dl
youtube-dlc
/youtube-dl
/youtube-dlc
/yt-dlp
yt-dlp.zip
*.exe
@ -50,12 +52,14 @@ yt-dlp.zip
*.m4v
*.mp3
*.3gp
*.webm
*.wav
*.ape
*.mkv
*.swf
*.part
*.ytdl
*.dump
*.frag
*.frag.urls
*.aria2