会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
司徒、墨渊
博客园
首页
新随笔
联系
订阅
管理
[置顶]
多线程爬取中国图书网
摘要: 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)
2021年11月15日
python 注册登录
摘要: #注册 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)
2021年11月12日
selenium 爬取基金网股票型基金
摘要: 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)
公告