这里码工大拿多,能不能帮我个忙?

我在做自动更新social security benefits计算,当然要进自己SSA账户的那块还是手动

要下载CPI-W,这个可以在Fred网站自动下载,https://fred.stlouisfed.org/series/CWUR0000SA0 , 用Python API 可以

但要下载National Average Wage Index (AWI),https://www.ssa.gov/oact/cola/awiseries.html,看着很简单的web scraping任务,我就是搞不定。无论怎么reqeust (Python 程序),就是过不了 403 这一关。SSA 网站似乎很严格,不让web scraper上,加什么user agent也不让上。是不是要上什么headless browser才行?

 

所有跟帖: 

这是想干什么?小心fbi逮你哈 -硅谷码工头- 给 硅谷码工头 发送悄悄话 硅谷码工头 的博客首页 (0 bytes) () 01/03/2026 postreply 17:34:00

我不是hack账户,是download public数据AWI (average wage index) -slow_quick- 给 slow_quick 发送悄悄话 slow_quick 的博客首页 (366 bytes) () 01/03/2026 postreply 21:03:02

请您先登陆,再发跟帖!