HTTPS log in with urllib2

后端 未结 3 1441
难免孤独
难免孤独 2021-02-09 22:27

I currently have a little script that downloads a webpage and extracts some data I\'m interested in. Nothing fancy.

Currently I\'m downloading the page like so:

3条回答
  •  青春惊慌失措
    2021-02-09 23:14

    The urllib2 documentation has an example of working with Basic Authentication:

    http://docs.python.org/library/urllib2.html#examples

提交回复
热议问题