Grabbing text from a webpage

前端 未结 8 429
南旧
南旧 2021-01-03 09:54

I would like to write a program that will find bus stop times and update my personal webpage accordingly.

If I were to do this manually I would

  1. Visit
相关标签:
8条回答
  • 2021-01-03 10:37

    That site doesnt offer an API for you to be able to get the appropriate data that you need. In that case you'll need to parse the actual HTML page returned by, for example, a CURL request .

    0 讨论(0)
  • 2021-01-03 10:41

    As long as the layout of the web page your trying to 'scrape' doesnt regularly change, you should be able to parse the html with any modern day programming language.

    0 讨论(0)
提交回复
热议问题