seleniumrequests 開啟的頁面與瀏覽器不同?是哪邊設定有問題?
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')
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编辑过]