mercredi 7 février 2018

Python Web Scraping - Iterate to the next page of data form

I am trying to scrape from data from the following website for a mini project but was stuck mid way. Some help on this will be well appreciated! Apologies for not being able to post image. (would need more reputation :[)

http://www.sfc.hk/publicregWeb/searchByRa

Using the GET method on the link, I am able to obtain data from the first page.

https://i.stack.imgur.com/ekqJw.png

There should be in total 339 counts of entry, where each page contains 19 entry

https://i.stack.imgur.com/KUNE1.png

Please advise the best way to get all the links for the data I need. Many thanks in advance.




Aucun commentaire:

Enregistrer un commentaire