분석에서 페이지를 분리 모드가 여전히 검색으로는 로봇

0

질문

나는 구문 분석하려고 하는 일부 사이트을 사용하는 로봇 탐지 알고리즘이 있습니다. 내가 사용하는 다음과 같은 크롬 옵션

chrome_options = Options()
chrome_options.add_argument("start-maximized")
chrome_options.add_experimental_option("detach", True)
chrome_options.add_experimental_option("excludeSwitches", ["enable-automation"])
chrome_options.add_experimental_option('useAutomationExtension', False)
chrome_options.add_argument("--disable-blink-features")
chrome_options.add_argument('--start-maximized')
chrome_options.add_argument('window-size=1920,1080')
chrome_options.add_argument("--disable-blink-features=AutomationControlled")
driver = webdriver.Chrome(executable_path='chromedriver.exe', chrome_options=chrome_options)
driver.get(url)

나는 또한 패치 chromedriver.execdc_ 패턴이다.

브라우저 창을 시작하고 간 사이트는 사이트 감지 그것으로 로봇을 막을 로드 내용입니다. 그러면 브라우저에서 분리하고 수동으로 눌러"새로 고침"버튼 사이트에 내용을 로드하는 성공하였습니다. 시뮬레이션을 누르면"f5"도 작동하지 않 사이트는 여전히 차단 내용을 로드.

1

최고의 응답

0

분리 (크롬-특정 기능)

Name:           detach 
Type:           boolean 
Default:        false 
Description:    If false, Chrome will be quit when ChromeDriver is killed, 
                regardless of whether the session is quit. If true, Chrome will only 
                be quit if the session is quit (or closed). Note, if true, and the 
                session is not quit, ChromeDriver cannot clean up the temporary user 
                data directory that the running Chrome instance is using.

로 설명,브라우저에서 분리 모드지만 세션을 종료한 ChromeDriver 할 수 없는 깨끗한 임시 사용자 데이터 디렉토리에 실행 인스턴스에서 사용하고 있습니다.

따라서, ChromeDriver 시작한 Chrome 브라우저 히 얻는 검출.

2021-11-24 10:55:59

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................