python 爬虫:HTTP ERROR 406

解决方法:

设置了Accept头后解决了,但是还是不知道原因

 

headers:{
        Accept:"text/html, application/xhtml+xml, */*"
                                }
原文:https://segmentfault.com/q/1010000006745584

 

posted @ 2018-05-27 19:03  秋华  阅读(1178)  评论(0编辑  收藏  举报