Grabbing text from a webpage

前端 未结 8 517
南旧
南旧 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:22

    Beautiful Soup is a Python library designed for parsing web pages. Between it and urllib2 (urllib.request in Python 3) you should be able to figure out what you need.

提交回复
热议问题