크롤링 시 브라우저 헤더를 선언해줌
This commit is contained in:
@ -96,6 +96,8 @@ def main():
|
||||
"download.prompt_for_download": False,
|
||||
"safebrowsing.enabled": True
|
||||
})
|
||||
|
||||
options.add_argument('user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36')
|
||||
|
||||
driver = webdriver.Chrome(options=chrome_options)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user