You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Selenium无法访问JODI数据库链接进行数据爬取的问题求助

使用Selenium无法访问JODI数据库链接进行数据爬取的问题求助

大家好,我是刚接触Selenium的新手,最近想要从JODI数据库爬取数据。这个链接在浏览器里能正常打开,但我用Selenium或者BeautifulSoup写代码访问时,却一直报错,显示无法访问该页面。我猜测这应该是个动态网站的原因?

错误截图显示页面无法正常加载。

我已经安装好了ChromeDriver,以下是我代码的开头部分,有没有大佬能帮我看看怎么解决这个问题呀?

import time
import pandas as pd

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from bs4 import BeautifulSoup

chrome_service = webdriver.ChromeService(executable_path=r'C:\Users\user\Downloads\chromedriver-win64\chromedriver-win64\chromedriver.exe')
driver = webdriver.Chrome(service=chrome_service)

driver.get(r'http://www.jodidb.org/TableViewer/tableView.aspx')

备注:内容来源于stack exchange,提问作者Stackie

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.15 03:19:49