This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
#基于网易云 | |
#代码来自于开源项目musicbox,稍加修改 | |
def search(s, stype=1, offset=0, total='true', limit=60): | |
action = 'http://music.163.com/api/search/get' | |
data = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Jan 28 11:15:17 2017 | |
@author: SharkU | |
""" | |
import copy | |
from http.cookiejar import LWPCookieJar, LoadError | |
import urllib.parse |