python爬虫 - python urllib中创建request时应直接传入post data还是在urlopen时再传入post data
PHPz
PHPz 2017-04-18 10:08:38
0
1
868

文档里看到二者都可传入data,urlopen也支持request对象或者url

PHPz
PHPz

学习是最好的投资!

reply all(1)
巴扎黑

If your request can be reused, it is better to pass it in the request. In fact, there is not much difference.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template