我是 Python 初學者,我需要從網站獲取代碼串列的資料: https : //www.isindb.com/fix-cusip-calculate-cusip-check-digit/ 在 Enter Cusip 下,輸入代碼串列中的資料,然后單擊修復并檢查結果。
我想使用 Python 自動執行此操作,但不使用 Selenium,因為它會很慢。
我想知道如果沒有 Selenium,這項任務是否可行。如果可能的話,我應該如何處理。
uj5u.com熱心網友回復:
您可以使用:
urllib3 和 BeautifulSoup 訪問https://urllib3.readthedocs.io/
或者
機械 湯訪問https://mechanicalsoup.readthedocs.io/en/stable/tutorial.html
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/422152.html
標籤:
