One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| from json import JSONDecodeError | |
| import requests | |
| from datetime import datetime | |
| import time | |
| def queryQuote(a, b): | |
| cookie = "xx" | |
| headers = { |
| #!/usr/bin/env python | |
| #-*-coding:utf8-*- | |
| """ | |
| vesion2.0 | |
| 这个脚本的作用是通过输入某首歌页面的url,来实现这首歌的下载,保存到当前工作目录下。 | |
| 目前可以实现高音质音乐的下载,无须账号登陆。 | |
| 比如,When I'm Sixty-Four的页面的url是 http://www.xiami.com/song/1003908 | |
| download_hq_music('http://www.xiami.com/song/1003908'),将会实现When I'm Sixty-Four的320k版本下载 |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)