Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.
/ MarketBot Public archive

SLRClub 장터 게시물 모니터링 텔레그램 Bot

License

Notifications You must be signed in to change notification settings

yeongu-dev/MarketBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

중고장터 모니터링 텔레그램 Bot 만들기

  • 텔레그램의 Bot을 통해서 중고장터에 지정된 키워드로 새로운 매물이 올라올 경우 Bot이 알려준다.

TelegramBot 등록

python 패키지 설치

pip install -r requirements.txt

설정

  • MarketBot/settings/__init__.py 파일 수정
slrclub = [
    {
        "chat_id": "12345678",               # Telegram 사용자 ID:
                                             # TelegramBotAPI getUpdates를 통해 얻은 ID
        "user_id": "slrclub_my_user",        # SRLClub 중고장터 ID
        "password": "slrclub_my_password",   # SRLClub 중고장터 비밀번호
        "keywords": ["sample_keyword", "sample_keyword"], # 검색 키워드
    },
  {
      ....
  }
]

token = "AbcdEfg..." # Telegram Bot Token

실행

cd MarketBot
python main.py

주의사항

  • 순전히 개인용도로 사용하려고 만들었습니다.
  • 설정settings/__init__.py 를 보면 알겠지만 암호화 그런거 없으니 유념하세요.

About

SLRClub 장터 게시물 모니터링 텔레그램 Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages