Get webpage contents with Python?

前端 未结 8 1562
情话喂你
情话喂你 2020-12-04 15:22

I\'m using Python 3.1, if that helps.

Anyways, I\'m trying to get the contents of this webpage. I Googled for a little bit and tried different things, but they didn\

8条回答
  •  无人及你
    2020-12-04 16:03

    You can use urlib2 and parse the HTML yourself.

    Or try Beautiful Soup to do some of the parsing for you.

提交回复
热议问题