Skip to main content
added 381 characters in body
Source Link

From a comment to the question

That site seems to be using some sort of client-side rendering, meaning that the html page doesn't contain the info you want. Adding the content to the page is done with Javascript, so that's why what you tried isn't working. – Bas van der Linden Jun 28 at 18:09

@BasvanderLinden is right; the site itself doesn't contain any information about the rolls. If you inspect the site with the developer tools of your browser, you can find out that the rolls themselves are fetched by a call to this URL: https://csgoempire.com/api/v2/metadata/roulette/history?seed=1997. Those are in JSON, not XML, so you have to do a bit more work in order to import them in your sheet. See the question How to import JSON data into a Google spreadsheet?

@BasvanderLinden is right; the site itself doesn't contain any information about the rolls. If you inspect the site with the developer tools of your browser, you can find out that the rolls themselves are fetched by a call to this URL: https://csgoempire.com/api/v2/metadata/roulette/history?seed=1997. Those are in JSON, not XML, so you have to do a bit more work in order to import them in your sheet. See the question How to import JSON data into a Google spreadsheet?

From a comment to the question

That site seems to be using some sort of client-side rendering, meaning that the html page doesn't contain the info you want. Adding the content to the page is done with Javascript, so that's why what you tried isn't working. – Bas van der Linden Jun 28 at 18:09

@BasvanderLinden is right; the site itself doesn't contain any information about the rolls. If you inspect the site with the developer tools of your browser, you can find out that the rolls themselves are fetched by a call to this URL: https://csgoempire.com/api/v2/metadata/roulette/history?seed=1997. Those are in JSON, not XML, so you have to do a bit more work in order to import them in your sheet. See the question How to import JSON data into a Google spreadsheet?

Source Link
Glorfindel
  • 2.3k
  • 5
  • 19
  • 28

@BasvanderLinden is right; the site itself doesn't contain any information about the rolls. If you inspect the site with the developer tools of your browser, you can find out that the rolls themselves are fetched by a call to this URL: https://csgoempire.com/api/v2/metadata/roulette/history?seed=1997. Those are in JSON, not XML, so you have to do a bit more work in order to import them in your sheet. See the question How to import JSON data into a Google spreadsheet?