摘要: import os import requests from bs4 import BeautifulSoup import queue import time import threading #抓取 headers = { 'User-Agent': 'Mozilla/5.0 (Windows 阅读全文
posted @ 2021-11-03 10:00 司徒、墨渊 阅读(70) 评论(0) 推荐(0)
摘要: #注册 def register(username,password): ''' 注册用户 ''' with open('login','w',encoding='utf-8') as f: s = "\n".join([username,password]) f.write(s+'\n') def 阅读全文
posted @ 2021-11-15 13:55 司徒、墨渊 阅读(72) 评论(0) 推荐(0)
摘要: from selenium import webdriver from bs4 import BeautifulSoup from selenium.webdriver.common.by import By driver = webdriver.Chrome() url = 'http://fun 阅读全文
posted @ 2021-11-12 10:56 司徒、墨渊 阅读(69) 评论(0) 推荐(0)