Avaland是一个命令行程序,可以从许多来源下载音乐。

avaland的Python项目详细描述


PyPI versionBuild Status

It requires the Python interpreter, version 3.5+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS.

screen shot

安装及注意事项

要安装它,请打开终端并键入:

pip3 install avaland

用法和示例

可以使用-h或--help标志找到用法:

^{pr2}$
# Search tracks
avaland "your search query"

# Search and download first result
avaland "your search query" --dl-first

# Search with custom sources
avaland "your search query" --sources radiojavan,bia2,rapfarsi

# Set custom download path directory
avaland "your search query" --path /foo/bar

入门(针对开发人员)

fromavaland.managerimportSourceManagerfromavaland.sourcesimport*manager=SourceManager()#  register two sourcesmanager.register(Bia2)manager.register(RapFarsi)if__name__=='__main__':#  search for a querysearch=manager.search("hello adele")print(search)#  download first result from bia2download=search['bia2'].musics[0].download()print(download)

贡献

贡献使开源社区成为一个值得学习、启发和创造的地方。非常感谢您的任何贡献。在

  1. 叉开(https://github.com/dragon-born/avaland
  2. 创建您的功能分支(git checkout -b feature/newfeature
  3. 提交更改(git commit -am 'Add some amazing new feature'
  4. 推送到分支(git push origin feature/newfeature
  5. 打开新的拉取请求

许可证

MIT

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java中硬件令牌的证书访问私钥   java SQLite数据库在何处不能正确使用?   java在编辑器中显示IntelliJidea中的编译错误   java将atributes放到X500 NameBuilder Bouncy Castle,生成PKCS10   java顺序ant条件不会停止   spring如何发送请求并上传带有java对象的文件,比如@RequestParam CommonsMultipartFile file、@RequestBody User userDetailsId?   java如何在Spring中根据配置创建多个相同类型的bean?   java我需要一个框架来使用依赖注入吗?   如何使用java在excel中插入换行符?   java从安卓文件加载数组   安卓 Dateformat不返回实时Java   java如何将基本int传递给AsyncTask?   java音频相似性库   Spark:OutOfMemoryError:Java堆空间   java My代码未按预期工作。十进制输出不是它应该的样子   财务Java编译器告诉我,我并没有启动变量“interest”或“pmt”