爬取天堂电影,结果有乱码看了页面源代码charset=gb2312",而我使用response.apparent_encoding之后得到是windows-1254,gbk和windows-1254都尝试过,前者显示
后者显示!求大佬解惑
你令r.encoding='utf-8'试试