momo降價通知機器人 - 省錢

Connor avatar
By Connor
at 2021-08-12T19:54

Table of Contents

上周末看到 t36085520 以及 Kitten1156 的發文,也想分享一下自己周末做出來的成品

目前已架設的機器人可直接加
https://t.me/momo_price_tracker_bot

Project link
https://github.com/chen-tf/price-tracker-bot

使用方式:
直接傳送商品連結給機器人,若成功解析後會回傳基本商品資訊
/my 可以列出目前全部以追蹤商品以及當時收藏價格
/clear 清空收藏商品

https://imgur.com/vCjKj0Y

希望透過大家的力量,產生出一個更好的特價通知機器人
- 支援各式momo分享的商品連結(含app 分享連結)
- 提供自架Cloud Application Platform (Heroku) 架設機器人說明
- 支援本機執行,不使用telegram webhook,用的是telegram polling
- 資料庫建檔管理,以後可拓展更多功能

免費方案的休眠問題,透過scheduler health check解決,免費方案的Heroku方案應該是
足夠應付的。


目前已經先限制每人可追蹤的商品數量11個,自身有保護機制,同時間只有一個線程會負

會讓每個人等待解析的時間變長,但可保證服務可用性,不會因為同時有大量的追蹤需求


目前設定是一小時爬取全部商品最新價格,並通知有追蹤商品且收藏時價格高於現價的使

之後會再設計網頁排版更改導致的解析失敗通知,讓功能負責人可以盡快更改爬蟲的規則

是我第一次寫python,若code有傷眼之處還請多多包涵。

========8/13更新========
目前已經完成商品上架通知,顯示可購買狀態

--
Sent from my Windows

--
Tags: 省錢

All Comments

Irma avatar
By Irma
at 2021-08-14T18:46
先推
Caitlin avatar
By Caitlin
at 2021-08-16T20:40
推一個!!
John avatar
By John
at 2021-08-19T04:31
Una avatar
By Una
at 2021-08-22T09:47
Genevieve avatar
By Genevieve
at 2021-08-26T05:31
不錯
Ivy avatar
By Ivy
at 2021-08-28T00:32
Connor avatar
By Connor
at 2021-09-01T11:34
Ida avatar
By Ida
at 2021-09-05T11:47
Lydia avatar
By Lydia
at 2021-09-06T17:06
現在不是一堆比價網,還有購物網本身
也有追蹤功能阿,都爛到有剩嗎?還是
George avatar
By George
at 2021-09-10T02:59
懶得用
Todd Johnson avatar
By Todd Johnson
at 2021-09-10T18:45
很多東西重點就是要穩定持久
一窩蜂運作個幾天,以後呢?
Elizabeth avatar
By Elizabeth
at 2021-09-15T08:33
謝謝
Jacky avatar
By Jacky
at 2021-09-17T08:52
Gilbert avatar
By Gilbert
at 2021-09-21T22:15
開源推
Connor avatar
By Connor
at 2021-09-25T11:28
開發給推
Caroline avatar
By Caroline
at 2021-09-28T00:06
Connor avatar
By Connor
at 2021-09-28T08:22
推,謝謝分享
Adele avatar
By Adele
at 2021-10-01T01:07
有用有推
Carolina Franco avatar
By Carolina Franco
at 2021-10-04T07:37
Lucy avatar
By Lucy
at 2021-10-08T11:54
Queena avatar
By Queena
at 2021-10-11T14:44
開源大推!
Suhail Hany avatar
By Suhail Hany
at 2021-10-15T18:34
推開源
Hardy avatar
By Hardy
at 2021-10-18T12:44
Adele avatar
By Adele
at 2021-10-21T04:04
推!
Todd Johnson avatar
By Todd Johnson
at 2021-10-23T09:43
Madame avatar
By Madame
at 2021-10-24T05:37
推一個,希望有越來越多人分享好用的
Tristan Cohan avatar
By Tristan Cohan
at 2021-10-26T03:32
機器人,感恩。
Mason avatar
By Mason
at 2021-10-30T20:53
導向不同吧 這些比價網有提供單項連結商品
降價即時通知功能嗎
Steve avatar
By Steve
at 2021-10-31T09:11
不用依line的收費方式 這個很難放大推廣來
Thomas avatar
By Thomas
at 2021-10-31T19:48
Ina avatar
By Ina
at 2021-11-02T13:52
Frederic avatar
By Frederic
at 2021-11-03T13:56
先推 晚點再來看看
Frederic avatar
By Frederic
at 2021-11-06T06:51
推 等等來研究
Eartha avatar
By Eartha
at 2021-11-07T03:20
Oliver avatar
By Oliver
at 2021-11-08T14:18
Wallis avatar
By Wallis
at 2021-11-10T16:34
推實作,但瀏覽器外掛更好用
Emma avatar
By Emma
at 2021-11-11T18:39
瀏覽器外掛確實更貼近日常使用,謝謝建
Adele avatar
By Adele
at 2021-11-13T18:26
Adele avatar
By Adele
at 2021-11-17T03:50
不知道何時有人可以分享搶85折的機器人XD
Robert avatar
By Robert
at 2021-11-18T21:06
Hedda avatar
By Hedda
at 2021-11-19T04:43
謝謝
Belly avatar
By Belly
at 2021-11-22T06:49
推開源
Belly avatar
By Belly
at 2021-11-23T04:09
Andrew avatar
By Andrew
at 2021-11-24T08:09
Suhail Hany avatar
By Suhail Hany
at 2021-11-27T12:18
推起來
Mia avatar
By Mia
at 2021-11-27T23:24
開源的,先推再說!
Zora avatar
By Zora
at 2021-12-01T21:28
推推
Margaret avatar
By Margaret
at 2021-12-06T03:56
Eden avatar
By Eden
at 2021-12-07T00:41
Ivy avatar
By Ivy
at 2021-12-10T18:21
Charlotte avatar
By Charlotte
at 2021-12-11T21:17
Liam avatar
By Liam
at 2021-12-14T00:27
推起來
Doris avatar
By Doris
at 2021-12-16T01:08
Margaret avatar
By Margaret
at 2021-12-16T08:33
非常感謝
Kelly avatar
By Kelly
at 2021-12-18T00:11
Margaret avatar
By Margaret
at 2021-12-21T08:16
Hazel avatar
By Hazel
at 2021-12-23T01:19
讚讚
Erin avatar
By Erin
at 2021-12-26T18:06
推開源
Linda avatar
By Linda
at 2021-12-26T20:45
推推
Poppy avatar
By Poppy
at 2021-12-31T14:51
Oscar avatar
By Oscar
at 2022-01-01T00:19
Catherine avatar
By Catherine
at 2022-01-04T13:07
Irma avatar
By Irma
at 2022-01-06T09:13
感覺很厲害
Rebecca avatar
By Rebecca
at 2022-01-08T20:00
Noah avatar
By Noah
at 2022-01-13T05:26
雞肋
Jacky avatar
By Jacky
at 2022-01-17T19:21
厲害
David avatar
By David
at 2022-01-20T23:48
不會用 pass
Tom avatar
By Tom
at 2022-01-23T21:00
出個搶貨機器人,鄉民更需要
Rebecca avatar
By Rebecca
at 2022-01-26T23:56
寫開源還有人酸喔,可憐哪
John avatar
By John
at 2022-01-28T06:56
搶貨機器人根本就是吃力不討好的事
情,那個強度根本不能跟查價比
願意開源的我真的覺得滿偉大的
Candice avatar
By Candice
at 2022-01-28T14:04
目前的機器人我會持續更新及維護,若有
疑問都歡迎站內信詢問
Belly avatar
By Belly
at 2022-01-30T19:01
比價網有即時性的問題…
常常會出現網站寫低價
點進去優惠早已結束
MOMO自帶的商品追蹤就更搞笑了
放一陣子還會自動幫你刪除
意思就是
反正你現在不買以後也不會想買的概念
嘴這兩點的人應該是屬於立刻下訂型
Elizabeth avatar
By Elizabeth
at 2022-02-02T12:58
Harry avatar
By Harry
at 2022-02-06T20:28
推開源
Connor avatar
By Connor
at 2022-02-07T00:15
Todd Johnson avatar
By Todd Johnson
at 2022-02-10T23:47
今晚順便把到貨通知也做了
Carolina Franco avatar
By Carolina Franco
at 2022-02-15T19:02
可以
Eden avatar
By Eden
at 2022-02-19T01:54
謝謝分享

yoxi情人節 77元*2 乘車優惠

Irma avatar
By Irma
at 2021-08-12T17:09
yoxi輸入5201314可享情人節當天乘車77元優惠兩次,我自己是用不到,分享給需要的人 大家情人節快樂,單身也要快樂! - ...

GoShare 七夕零元起跳 七張0元起跳至8/15

Rachel avatar
By Rachel
at 2021-08-12T16:53
收到goshare推播 優惠碼 七夕零元起跳 送七張$0起跳券 8/15 23:59到期 應該可以算是15元或25元 7張 等等下班測 https://i.imgur.com/BgyaLG8.png - ...

七夕用0元說愛 賺LINE POINTS 1點

David avatar
By David
at 2021-08-12T15:59
活動網址: https://bit.ly/3lXRpzE andgt;提醒您,本商品為活動使用之電子卡片,【免費】即可贈送給好友,購買記錄顯示的金額 為購買數量,將不會進行扣款作業,請您安心贈送。 七夕用0元說愛,賺LINE POINTS 活動說明:於活動期間,「贈送」指定情感加溫券給朋友,送禮者將獲 ...

openpoint指定飲料69折券(分眾)

Lydia avatar
By Lydia
at 2021-08-12T15:24
如圖 有收到的可以趕緊兌換喔~~ https://i.imgur.com/vqn0Q1r.jpg - ...

Line禮物 Pocky買一送一優惠

Carolina Franco avatar
By Carolina Franco
at 2021-08-12T14:21
https://i.imgur.com/ACBOPE5.jpg 從今天起到8/15 23:59為止,使用LINE禮物購買一盒Pocky送朋友 對方兌換完成 LINE禮物會再贈送一盒 剛剛立馬買來送給和我一樣愛吃Pocky的朋友 https://i.imgur.com/69m5in4.jpg - ...