摘要:
# 豆瓣读书榜单import requests,csv, refrom bs4 import BeautifulSoupurl = "https://book.douban.com/top250?icn=index-book250-all"headers = { "Accept": "applica 阅读全文
posted @ 2021-03-30 18:38
tevien
阅读(178)
评论(0)
推荐(0)
摘要:
import requests,csv, pymysqlfrom lxml import etree def ips(): try: db = pymysql.connect(host="localhost", user="root", password="123123", database="te 阅读全文
posted @ 2021-03-30 18:37
tevien
阅读(137)
评论(0)
推荐(0)
摘要:
import pymysql, time # 登录系统def login(): try: db = pymysql.connect(host="localhost", user="root", password="123123", database="test") r = db.cursor() s 阅读全文
posted @ 2021-03-30 18:33
tevien
阅读(61)
评论(0)
推荐(0)
摘要:
import requests, time def music(): key_name = input("输入要下载的歌曲:") num = input("第几页:") url1 = 'http://www.kuwo.cn/api/www/search/searchMusicBykeyWord?ke 阅读全文
posted @ 2021-03-30 18:30
tevien
阅读(69)
评论(0)
推荐(0)
摘要:
import requestsimport json class qm: def __init__(self): self.headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, 阅读全文
posted @ 2021-03-30 18:29
tevien
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号