--- title: 9.beautifulsoup4函式庫的實作範例 tags: Python 網路爬蟲基礎課程, 筆記 --- step1 : 『原始碼』->網址列 Answer step2 : 1.找到到底要開啟網址的url - in 『原始碼』:open(網址列) - not in 『原始碼』:Network 2.回應 -> 1.網頁 -> 2.Json:json.load(response) -> 3.多媒體:response.read() --- 2.1回應 網頁:(盒子特徵紙條) 1. 盒子 <品牌> </品牌> img(圖片), video(影片),a(超連結) 3. 特徵<品牌 特徵名字=“值”> img->src a->href class-> id-> 3. <> 紙條</> ---- beautifulsoup 把回應變成盒子 讓你找到