[Python] 纯文本查看 复制代码#!/usr/bin/env python
# -*- coding: utf-8 -*-
# [url=home.php?mod=space&uid=238618]@Time[/url] : 2018/7/20 14:37
# [url=home.php?mod=space&uid=686208]@AuThor[/url] : Bnightning
# [url=home.php?mod=space&uid=406162]@site[/url] : https://www.bnightning.cn
# [url=home.php?mod=space&uid=267492]@file[/url] : douqq.py
# @Software: PyCharm
import requests
import json
headers = {
'Host': 'c.y.qq.com',
'Referer': 'http://c.y.qq.com/',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 '
'Safari/537.36 '
}
def douqq_post(mid):
"""
返回歌曲下载url
:param mid:歌曲mid
:return: 字典
"""
post_