Jun-18-2019, 02:31 PM
(This post was last modified: Jun-18-2019, 02:35 PM by eddywinch82.)
I found the following part of a code :-
I have :-
Eddie
urlbase = "https://www.olx.in/coimbatore/?&page=" for x in range (4)[1:]: res = requests.get(urlbase + str(x))How can I adapt that Code, so requests will go through all links, to produce the necessary Data, i.e. display all SHD Bookings only, for the Whole year ?
I have :-
res = requests.get("http://web.archive.org/web/20070701133815/http://www.bbmf.co.uk/september07.html")And it is the end bit, that is the only part that is different, in each Url. There are 7 months i.e. March to September, and the Url differs only by the following ending, i.e. march07.html april07.html may07.html etc.
Eddie