import json
def fetch_data(url): with request.urlopen(url) as f: return json.loads(f.read().decode('utf-8'))
Sign in to make a reply
艾文SEO
import json
def fetch_data(url): with request.urlopen(url) as f: return json.loads(f.read().decode('utf-8'))