Skip to content
Prev 383358 / 398502 Next

Web-scraping newbie - dynamic table into R?

On Sun, 19 Apr 2020 at 22:34, Julio Farach <jfarach at gmail.com> wrote:

            
The "Network" tab in browser developer tools (usually accessible by
pressing F12) demonstrates that the "Winning Numbers" are fetched in
JSON format by means of an XHR from
<https://www.galottery.com/api/v2/draw-games/draws/?previous-draws=10&game-names=ikeno>.

The server checks the User-Agent: header and returns a 403 error to
clients that don't look like browsers, which probably means that the
website ToS forbids programmatic access.