Grabbing text from a webpage

前端 未结 8 430
南旧
南旧 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 .

提交回复
热议问题