看板
[ Python ]
討論串[問題] requests 撈回來的 big5 網頁轉成 utf8
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
https://gist.github.com/anonymous/f7781da21b44925a36320e61b6f27283. print h.text # 亂碼. 我範例是從露天拍賣抓資料可是出現都是亂碼, 後來google 有人提到露天網頁編碼是 big5. 後來我找到有人針對露天拍賣編
(還有490個字)
內容預覽:
https://gist.github.com/anonymous/1078f4e653de5f1f9c6e98166b750212. 加上 r.encoding = r.apparent_encoding 編碼確實就正常. python test.py 正常不會有亂碼. 但我想我內容導向ruten
(還有275個字)
首頁
上一頁
1
下一頁
尾頁