当前位置:网站首页>selenium无头,防检测
selenium无头,防检测
2022-08-01 21:48:00 【铁憨憨0304】
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time
opt = Options()
# opt.add_argument("--headless")
opt.add_argument("--disable-gpu")
opt.add_argument("--disable-blink-features=AutomationControlled")
web = webdriver.Chrome(options=opt)
base_url='https://www.amazon.com/dp/B01MDUEBX1/?th=1'
web.get(url=base_url)
time.sleep(10)
边栏推荐
猜你喜欢
render-props和高阶组件
树莓派的信息显示小屏幕,显示时间、IP地址、CPU信息、内存信息(c语言),四线的i2c通信,0.96寸oled屏幕
Based on php online music website management system acquisition (php graduation design)
基于php旅游网站管理系统获取(php毕业设计)
WEB 渗透之端口协议
SAP ABAP OData 服务如何支持删除(Delete)操作试读版
ImportError: `save_weights` requires h5py.问题解决
工程建筑行业数据中台指标分析
FusionGAN:A generative adversarial network for infrared and visible image fusion文章学习笔记
Homework 8.1 Orphans and Zombies
随机推荐
宝塔应用使用心得
SOM网络2: 代码的实现
回收租凭系统100%开源无加密 商城+回收+租赁
Unity Shader 常规光照模型代码整理
LeetCode952三部曲之二:小幅度优化(137ms -> 122ms,超39% -> 超51%)
Shell编程之条件语句
FusionGAN:A generative adversarial network for infrared and visible image fusion文章学习笔记
The Microsoft campus ambassador to shout you to autumn recruit!
越长大越孤单
Dichotomy Medium LeetCode6133. Maximum Number of Groups
LVS负载均衡群集
微软校园大使喊你来秋招啦!
Analysis of the development trend of game metaverse
51.【结构体初始化的两种方法】
ImportError: `save_weights` requires h5py. Problem solved
Kubernetes Scheduler全解析
递归(各经典例题分析)
Based on php online examination management system acquisition (php graduation design)
MySQL相关知识
二分法中等 LeetCode6133. 分组的最大数量