[問題] 爬蟲新手問題

看板Python作者 (Tung)時間4年前 (2019/10/02 13:41), 編輯推噓1(101)
留言2則, 2人參與, 4年前最新討論串3/3 (看更多)
想請問各位大大 若是我想用 /news/politics/ 去找到 /news/politics/breakingnews/2933578 /news/politics/breakingnews/2933733 /news/politics/breakingnews/2933730?from=catebreaknews_ch2 應該要如何下正則表示式呢 一直嘗試都回傳none 想請教各位幫忙解惑 -- Sent from my Windows -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.136.152.237 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1569994874.A.8C2.html

10/02 14:39, 4年前 , 1F
/news/politics/.*
10/02 14:39, 1F

10/02 19:31, 4年前 , 2F
這跟 python 沒關吧...
10/02 19:31, 2F
文章代碼(AID): #1Tb3XwZ2 (Python)
文章代碼(AID): #1Tb3XwZ2 (Python)