Am new to Python.I typed in a url and the compiler report an erro(in _encode_request return request.encode('ascii')) ; here's code

后端 未结 0 361
走了就别回头了
走了就别回头了 2020-11-29 13:20
def askUrl(url):
    header = {
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.42         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题