import requests
url='http://aaa.24ht.com.tw/'
htmlfile=requests.get(url)
htmlfile.raise_for_status()
我跟着书上敲的。然后这个url是反爬虫的,但是我运行出来没有报406错误,是怎么回事呀?
import requests
url='http://aaa.24ht.com.tw/'
htmlfile=requests.get(url)
htmlfile.raise_for_status()
我跟着书上敲的。然后这个url是反爬虫的,但是我运行出来没有报406错误,是怎么回事呀?