当前位置:网站首页>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)
边栏推荐
- Spark cluster construction
- 【建议收藏】ヾ(^▽^*)))全网最全输入输出格式符整理
- 0DFS Medium LeetCode6134. Find the closest node to the given two nodes
- C expert programming
- 19 Lectures on Disassembly of Multi-merchant Mall System Functions - Invoice Management on the Platform
- 2022 版 MySQL 巅峰教程,收藏好,慢慢看
- 【C语言实现】两种计算平均成绩题型,博主精心整理,值得一读
- ARFoundation入门教程U2-AR场景截图截屏
- ImportError: `save_weights` requires h5py. Problem solved
- [@synthesize in Objective-C]
猜你喜欢
render-props和高阶组件
Based on php tourism website management system acquisition (php graduation design)
Shell programming conditional statement
groupByKey和reduceBykey的区别
2022 版 MySQL 巅峰教程,收藏好,慢慢看
HCIP---Multiple Spanning Tree Protocol related knowledge points
AIDL communication
入门数据库Days4
FusionGAN:A generative adversarial network for infrared and visible image fusion文章学习笔记
宝塔应用使用心得
随机推荐
【建议收藏】ヾ(^▽^*)))全网最全输入输出格式符整理
Based on php online music website management system acquisition (php graduation design)
Shell编程条件语句
The Microsoft campus ambassador to shout you to autumn recruit!
The thing about npm
Analysis of the development trend of game metaverse
漫长的投资生涯
Flink cluster construction
作业8.1 孤儿进程与僵尸进程
如何优雅的性能调优,分享一线大佬性能调优的心路历程
熟悉的朋友
Safe fifth after-school exercise
Shell programming conditional statement
安全第五次课后练习
C expert programming
Dichotomy Medium LeetCode6133. Maximum Number of Groups
恒星的正方形问题
Chapter 12, target recognition of digital image processing
NFT的10种实际用途(NFT系统开发)
ModuleNotFoundError: No module named ‘yaml‘