Trying to parse html hidden by javascript

后端 未结 2 966
攒了一身酷
攒了一身酷 2020-12-12 01:35

I\'ve created a simple java script that used Jsoup to parse a page of data. The site creators have changed the page however, so much that if there is a certain amount of dat

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-12 01:57

    Use firefox's or chrome's developer tools. When you click on the link, there is propably an ajax call firing. On the network tab, you can see which url the javascript actually requests and how the result is structured (propably json). Then you can directly access that url to load the rest of the results.

    Or something along those lines ^^

提交回复
热议问题