mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-19 23:14:54 +08:00
Update Readme
This commit is contained in:
parent
590c9907a4
commit
7d9ae708b2
@ -147,6 +147,13 @@ class BrowserThread(Thread):
|
|||||||
self.print_and_log("Loading stealth.min.js")
|
self.print_and_log("Loading stealth.min.js")
|
||||||
self.browser.execute_cdp_cmd('Page.addScriptToEvaluateOnNewDocument', {
|
self.browser.execute_cdp_cmd('Page.addScriptToEvaluateOnNewDocument', {
|
||||||
'source': js}) # TMALL 反扒
|
'source': js}) # TMALL 反扒
|
||||||
|
self.browser.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", {
|
||||||
|
"source": """
|
||||||
|
Object.defineProperty(navigator, 'webdriver', {
|
||||||
|
get: () => undefined
|
||||||
|
})
|
||||||
|
"""
|
||||||
|
})
|
||||||
WebDriverWait(self.browser, 10)
|
WebDriverWait(self.browser, 10)
|
||||||
self.browser.command_executor._commands["send_command"] = ("POST", '/session/$sessionId/chromium/send_command')
|
self.browser.command_executor._commands["send_command"] = ("POST", '/session/$sessionId/chromium/send_command')
|
||||||
path = os.path.join(os.path.abspath("./"), "Data", "Task_" + str(self.id), self.saveName, "files")
|
path = os.path.join(os.path.abspath("./"), "Data", "Task_" + str(self.id), self.saveName, "files")
|
||||||
|
@ -10,7 +10,9 @@ A visual browser automation test/data collection/crawler software, which can be
|
|||||||
|
|
||||||
[亮数据BrightData](https://get.brightdata.com/naibowang)是代理市场领导者,覆盖全球的7200万IP,提供真人住宅IP,即时批量采集网络公开数据,成功率亲测有保证。需要性价比高代理IP的可**点击上方图片注册**后联系中文客服,开通后免费试用,**最高可得250美金折扣**。BrightData可配合EasySpider进行数据采集。
|
[亮数据BrightData](https://get.brightdata.com/naibowang)是代理市场领导者,覆盖全球的7200万IP,提供真人住宅IP,即时批量采集网络公开数据,成功率亲测有保证。需要性价比高代理IP的可**点击上方图片注册**后联系中文客服,开通后免费试用,**最高可得250美金折扣**。BrightData可配合EasySpider进行数据采集。
|
||||||
|
|
||||||
[](https://www.capsolver.com/zh?utm_source=github&utm_medium=banner_github&utm_campaign=easyspider)
|
<a target="_blank" href="https://www.capsolver.com/zh?utm_source=github&utm_medium=banner_github&utm_campaign=easyspider"><img src="media/capsolver.jpg" width=400></img></a>
|
||||||
|
|
||||||
|
<!-- [](https://www.capsolver.com/zh?utm_source=github&utm_medium=banner_github&utm_campaign=easyspider) -->
|
||||||
|
|
||||||
[Capsolver.com](https://www.capsolver.com/zh?utm_source=github&utm_medium=banner_github&utm_campaign=easyspider)是一家基于人工智能,提供自动验证码解决功能的服务商。支持的验证码类型包括reCAPTCHA、hCaptcha和FunCaptcha、AWS captcha、Geetest、Akamai Web、BMP、Imperva/Incapsula、captcha图像识别等。Capsolver可配合EasySpider进行验证码识别。
|
[Capsolver.com](https://www.capsolver.com/zh?utm_source=github&utm_medium=banner_github&utm_campaign=easyspider)是一家基于人工智能,提供自动验证码解决功能的服务商。支持的验证码类型包括reCAPTCHA、hCaptcha和FunCaptcha、AWS captcha、Geetest、Akamai Web、BMP、Imperva/Incapsula、captcha图像识别等。Capsolver可配合EasySpider进行验证码识别。
|
||||||
|
|
||||||
|
BIN
media/capsolver.jpg
Normal file
BIN
media/capsolver.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 280 KiB |
Loading…
x
Reference in New Issue
Block a user