看板 Python 關於我們 聯絡資訊
小弟新手, 目標:爬line point頁面資訊 上網查教學,使用fiddler查資料 https://i.imgur.com/a/nP6RY.jpg
得到我想到的json資訊 https://pastebin.com/LSLyuFmV 想說就這樣用request.get(url,headers),然後就會回傳我要的json https://i.imgur.com/a/w1TPA.jpg
但回傳的總是HTML(不是我要的資訊),搞了好久不知道原因 求助版上各位大神~~謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 192.83.177.90 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1519551695.A.5B5.html
Sunal: request respone都沒有貼出來 資訊不夠 無法幫你 02/25 18:02
coolching: !!馬上補 02/25 18:05
coolching: https://i.imgur.com/a/TwGAY.jpg print出來這樣 02/25 18:09
coolching: https://pastebin.com/fii1qPKq html全部連結 02/25 18:12
※ 編輯: coolching (192.83.177.90), 02/25/2018 18:15:45
coolching: 補上python code https://pastebin.com/8X1FwFa3 02/25 18:18
a830307119: https://tinyurl.com/y7h8n9up 03/03 06:17
galeondx: https://tinyurl.com/yadsk3lo 03/06 04:39