Johnwilliam Posted May 26, 2021 Share Posted May 26, 2021 (edited) Hi, I have lottery blog and i want to automate lottery results to post on my website instead of manually enter into website. Is there anyway to do it. I am not technical expert. Please guide me step by step so i can do it easily. Own website: https://uk49sresult.co.uk/ Scraping website: https://49s.co.uk//49s/ Edited May 26, 2021 by Johnwilliam Quote Link to comment https://forums.phpfreaks.com/topic/312795-scraping-lottery-results-automation/ Share on other sites More sharing options...
gw1500se Posted May 26, 2021 Share Posted May 26, 2021 Step 1 is to learn PHP. Step 2 is to perhaps read this or similar. Step 3 is to program your idea of what should work based on the previous. Step 4 is to present your code here that is giving you trouble and then we can help. Quote Link to comment https://forums.phpfreaks.com/topic/312795-scraping-lottery-results-automation/#findComment-1586821 Share on other sites More sharing options...
Psycho Posted May 26, 2021 Share Posted May 26, 2021 Taking a quick look at the source page to be scraped, the page appears to be specifically built to prevent scraping. Specifically, the content (i.e. the winning numbers) is loaded externally and populated on the page dynamically. It doesn't mean it can't be done, but it certainly won't be as trivial as it would seem. Quote Link to comment https://forums.phpfreaks.com/topic/312795-scraping-lottery-results-automation/#findComment-1586825 Share on other sites More sharing options...
Barand Posted May 26, 2021 Share Posted May 26, 2021 First step is to check if there is an easier way. For example, the UK National Lottery provides a facility to download results in a CSV file. Quote Link to comment https://forums.phpfreaks.com/topic/312795-scraping-lottery-results-automation/#findComment-1586827 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.