Code Monkey home page Code Monkey logo

qmdown's Introduction

QMdown

通过iFile网页服务器下载iOS版QQ音乐的已缓存歌曲

为什么要这个东西?

如果你想把QQ音乐上的歌保存到本地,你可能会访问网页版的QQ音乐(y.qq.com)然后抓包保存。 然而网页版QQ音乐的试听音质只有不到2MB一首的水平,惨不忍睹。

但是你发现,手机版QQ音乐把歌曲缓存到本地后,音质可以达到10MB每首的水平,虽然不如无损,但至少能听了。

iOS平台上QQ音乐的本地缓存文件的位置记录在Documents/qqmusic.sqlite数据库中, 只要在里面select出来要找的歌,就能保存到本地了。 (QQ音乐会把.mp3扩展名替换成.tm3或者.tm0,这点需要注意下)

因为我觉得每次想下歌都这么做很麻烦,所以就弄了这个工具,利用手机上iFile的网页服务器功能, 自动完成找到缓存位置、查询数据库、下载音乐、改扩展名的过程。

所以怎么用?

  • 依赖:requestsBeautifulSoup4和安装了iFile和QQ音乐的iDevice(iOS设备)。
  • 在 iDevice 上打开iFile的网页服务器功能。
  • 在电脑上打开qmdown.pyw,输入iFile服务器的网址和访问密码(如果有)。
  • 点击“连接”按钮,程序会按照歌手进行分类,显示出你缓存的所有歌曲。
  • 找到你要下载的歌曲,双击之。

Screenshot

qmdown's People

Contributors

xmcp avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.