Website scrape

Hi

Looking to make a project to check on line stock lists of ALDI, Tesco and Lidl to see if they have any toilet rolls in stock .

Planning on using an 8266, a PP3 battery and led ( to indicate stock ) . Will I need a resistor ?

Thanks,

Oh ... I need this to hand in as my project tomorrow, haven’t done any coding , can someone help ?

You'll need a new 8266, 9V will kill it!

Wait a minute! Its 2 weeks till April fools!

You will probably want to analyze the stock data to give an estimate of how long until it is depleted, as well as traffic analysis to calculate if there is time to drive to the store before the stock runs out.

Can you also add a pasta stock option.

I would imagine this is BEST done on the server..

Example: You have a PHP script that does all the 'heavy lifting' and analysis of the 'quantity' of products...

Then you can return whatever you like back to the Arduino/request.. to parse and display/show/indicate how you like the returned data..

What part(s) are you stuck on?

1.) Do you have an 'end point' this ESP module is supposed to connect to?
2.) Do have the web scraping/comparing script already written/tested?
3.) Have you written any sort of protocol to parse the incoming data from this web request?

xl97:
1.) Do you have an 'end point' this ESP module is supposed to connect to?

trying to follow this example, everything should work, can you identify the red wire ?

hammy:
Will I need a resistor ?

If there are no stocks (of toilet rolls) what use will the resistor be ?