从AngularJS加载的页面抓取数据 [英] Scraping Data from AngularJS loaded page
问题描述
我正在尝试从公共网站在检查页面时,我知道他们使用AngularJS.我使用Chrome开发者工具进行了检查,但找不到相同的Ajax URL.有人可以帮我吗.我需要使用Google Apps脚本获取下表中显示的数据.
感谢大家对它的研究.我找出了URL,如下图所示.该URL为
I am trying to scrape data from a public site PINNACLE page.
The page contains a div which when I fetch from Apps Script shows empty. I understand that it is because the data is loaded over ajax after page is loaded. On checking the page, I came to know that they using AngularJS. I checked using Chrome Developer Tools but could not find the ajax URL for the same. Could anyone help me on this. I need to fetch the data shown in table below using Google Apps Script.
Thank you all for looking into it. I figured out the URL as shown in below image. The URL is https://www.pinnacle.com/webapi/1.17/api/v1/GuestLines/Deadball/4/487?callback=angular.callbacks._0
这篇关于从AngularJS加载的页面抓取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!