diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-28 20:55:32 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-28 20:56:32 +0530 |
commit | f0884c8b3f171f8794a011fd1cb5d53d1185efab (patch) | |
tree | 46c2d8b72eb2d309a1959d1867fab0f070dc6fed /yt_dlp/extractor/bilibili.py | |
parent | 277d6ff5f2bd4f142429def30d01df264eb7c922 (diff) | |
download | hypervideo-pre-f0884c8b3f171f8794a011fd1cb5d53d1185efab.tar.lz hypervideo-pre-f0884c8b3f171f8794a011fd1cb5d53d1185efab.tar.xz hypervideo-pre-f0884c8b3f171f8794a011fd1cb5d53d1185efab.zip |
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
Diffstat (limited to 'yt_dlp/extractor/bilibili.py')
-rw-r--r-- | yt_dlp/extractor/bilibili.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/extractor/bilibili.py b/yt_dlp/extractor/bilibili.py index 764ac4d3c..78f4b1e76 100644 --- a/yt_dlp/extractor/bilibili.py +++ b/yt_dlp/extractor/bilibili.py @@ -558,6 +558,7 @@ class BilibiliAudioIE(BilibiliAudioBaseIE): formats = [{ 'url': play_data['cdns'][0], 'filesize': int_or_none(play_data.get('size')), + 'vcodec': 'none' }] song = self._call_api('song/info', au_id) |