目前分類:Line Bot (7)
- Nov 27 Wed 2019 22:37
Line Bot 實作LIFF畫圖傳圖片
- Jan 23 Wed 2019 15:00
Pthon 爬蟲抓取youtube影片並以LINE BOT呈現
這幾天再學爬蟲的一些語法,所以想說練習使用爬蟲將網站的影片位址抓出來,再透過 Line Bot 去得到影片,這樣子 end-user 就可以直接觀看或下載影片。首先我抓取影片網頁分別是 youtube 的影片,我設定是只要輸入關鍵字,然後分別加上 yout 就可以自動化的搜尋影片,並將影片列表以 ImageCarouselTemplate 的模板型式傳到聊天室裡面,對........我就是太無聊來寫寫看這個簡單的爬蟲程式。
Youtube來說
- Nov 28 Wed 2018 23:10
Heroku 上使用 webdriver 爬蟲抓資料
問題:
利用selenium模組的 webdriver來進行爬蟲,但webdriver在heroku上面不支援,必須要靠buildpack來幫忙處理,主要問題是使用網路上爬文來的資料說xvfb-google-chrome這個buildpack在heroku-16 stack並不相容
- Nov 11 Sun 2018 17:03
Linebot處理音檔
- Oct 25 Thu 2018 23:12
Line Bot 用google語音回覆訊息
- Feb 04 Mon 2019 11:06
heroku-PostgreSQL 應用筆記
Deploying-LineBot-with-PostgreSQL-to-heroku
Descript
Because I meet lots of difficulties in deploying linebot with PostgreSQL to heroku, I take notes step by step. I hope this article can help you solve your problem and use PostgreSQL more freely. If you need any futher information, Please feel free to contact me.
Required packages
CMD
- Jan 21 Mon 2019 11:10
Deploy Tesseract-OCR to Heroku(Linebot)
這是我在佈署LINEBOT遇到的問題,當我想要使用到影像文字辨識時,Tesseract-OCR這個模組可以幫助我們完成一些簡單低階的文字辨識,但要把Tesseract-OCR的buildpack放到heroku上面,這讓我花了不少時間,以下是我實作過程,同時也在我的github中有範例程式碼給大家參考指教。
我的github: