Can I Page Refresh before scraping?

Is there a way to force a page refresh before scraping?

Hi Richard

It should be possible this way:

  1. Refresh current page
  2. Wait for a couple seconds (so the page has enough time to load)
  3. Scrape data on active tab

I’m wondering… why is it necesary?

Can you walk us though this example? What page are you intending to scrape?

It’s necessary because the data updates at night and the update isn’t reflected in the page unless it’s been refreshed.

It’s the draw date, jackpot, and cash value on the texaslottery.org page.

I didn’t see Refresh current page when I looked, but I’ll give that and the Wait for a try. Thanks!

1 Like

That worked - thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.