Home > other >  Python crawler requests. Text error for help!
Python crawler requests. Text error for help!

Time:09-19

CodePudding user response:

To try this
 
The import requests

Responce=requests. Get (url='http://www.baidu.com')
Responce. Encoding="utf-8"
Print (responce. Text)
  • Related