随笔分类 - 爬虫
摘要:ChromeDriver驱动版本:https://googlechromelabs.github.io/chrome-for-testing/ # 创建一个配置对象 options = webdriver.ChromeOptions() # 代理设置 options.add_argument('--
阅读全文
摘要:REGEX:(?insx)/[^\?/].(css|ico|jpg|png|gif|bmp|wav|js|jpeg)(\?.)?$ or .css .ico .jpg .png .gif .bmp .wav .js .jpeg
阅读全文
摘要:// ==UserScript== // @name hook xxx // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You
阅读全文
摘要:import requests from collections import Counter # 使用 Fiddler抓包工具获取请求头顺序 headers = { 'Host': 'match.yuanrenxue.cn', 'Connection': 'keep-alive', 'Pragma
阅读全文
摘要:快代理 # proxiexUtils import requests def get_proxies_private(): """私密代理""" url = 'api地址' ip = requests.get(url).content.decode() proxies = { "http": f"h
阅读全文

浙公网安备 33010602011771号