网页抓取返回空值 [英] Web scrape return empty values
本文介绍了网页抓取返回空值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
试图在此卡车销售网站上获取新库存,但似乎无法解决问题.
Trying to scoop the new inventory on this truck sales site, but can't seem to get the problem.
=IMPORTHTML("https://usedtrucks.ryder.com/en/search-used-trucks#/facet-search?g=tractor&r=united-states&group=tandem-axle-sleeper&price=22563&price=30741&f=new-inventory&trant=auto&trant=auto-shift&sleeper=condo&sort=11&view=list","table",1)
我试过最多 35 个桌号.:(
I have tried table number up to 35. :(
推荐答案
Google 表格不支持对 JavaScript 控制元素进行网页抓取.您可以通过禁用给定站点的 JS 来轻松检查它,并且只能抓取可见的内容.不幸的是,在您的情况下,这没什么:
Google Sheets does not support web scraping of JavaScript controlled elements. you can easily check it by disabling JS for a given site and only what's left visible can be scraped. in your case, that's nothing, unfortunately:
这篇关于网页抓取返回空值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文