Get webpage contents with Python?

前端 未结 8 1543
情话喂你
情话喂你 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

    Mechanize is a great package for "acting like a browser", if you want to handle cookie state, etc.

    http://wwwsearch.sourceforge.net/mechanize/

提交回复
热议问题