iT邦幫忙

2025 iThome 鐵人賽

DAY 4
0
自我挑戰組

n8n自動化流程系列 第 4

[Day4]抓取ptt文章後發送到指定社交軟體頻道中做通知

  • 分享至 

  • xImage
  •  

承前文,抓取到ptt文章後,再整理資料,發送到指定discord頻道中
1.用firecrawl scrape方法,抓取指定ptt網頁,並複製api-key
https://ithelp.ithome.com.tw/upload/images/20250918/20163056D15AGPHpUx.png
https://ithelp.ithome.com.tw/upload/images/20250918/201630565U45PSzOTW.png
2.在n8n加入http request,貼上firecrawl請求網址,確認輸出的json格式
https://ithelp.ithome.com.tw/upload/images/20250918/2016305602Zrf7FaA7.png

https://ithelp.ithome.com.tw/upload/images/20250918/20163056hilPzFfNI4.png

3.在n8n工作流程中加入extract HTML節點,擷取出需要的html內容
https://ithelp.ithome.com.tw/upload/images/20250918/20163056Hp8pd3O4hP.png

4.在n8n工作流程中加入edit field節點,整理資料
https://ithelp.ithome.com.tw/upload/images/20250918/20163056PbHIBYtVVN.png

5.在n8n工作流程中加入discord節點,傳送訊息到指定頻道中


上一篇
[Day3] 搭配firecrawl抓取ptt文章
系列文
n8n自動化流程4
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言