注册 登录
编程论坛 Python论坛

seleniumrequests 開啟的頁面與瀏覽器不同?是哪邊設定有問題?

gelid 发布于 2022-06-01 22:19, 948 次点击
seleniumrequests  開啟的頁面與瀏覽器不同?是哪邊設定有問題?


from seleniumrequests import Chrome
from selenium.webdriver.chrome.options import Options

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

import time
options = Options()
ch = Chrome(ChromeDriverManager().install(),options=options)

ch.request('GET', 'https://www.ntuh.gov.tw/ntuh/FindDr.action')

ch.request('GET', 'https://reg.ntuh.gov.tw/webadministration/DoctorServiceQueryByDrName.aspx?HospCode=T0&QueryName=%E7%8E%8B%E8%87%B3%E5%BC%98')


[此贴子已经被作者于2022-6-4 18:25编辑过]

0 回复
1