Skip to content

kwYoohae/hamjimaru_kakaotalk_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฑํ•จ์ง€๋งˆ๋ฃจ ์ฑ„ํŒ…๋ด‡

Kakaotalk open builder์™€ flask๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ตฌํ˜„ํ•œ ํ”„๋กœ๊ทธ๋žจ์ž…๋‹ˆ๋‹ค.

๋งค๋ฒˆ ์ผ์ผ์ด ํ•™๊ต ํ™ˆํŽ˜์ด์ง€ ๋‚ด ์‹๋‹จ ์•ˆ๋‚ด ๊ฒŒ์‹œ๊ธ€์„ ํ™•์ธํ•  ํ•„์š” ์—†์ด ์ฑ—๋ด‡์„ ํ†ตํ•ด ๊ฐ ์š”์ผ์˜ ์‹๋‹จ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


โœ”๏ธํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ

  • selenium์„ ์ด์šฉํ•œ ๋ฐ์ดํ„ฐ ์Šคํฌ๋ž˜ํ•‘์„ ์ด์šฉํ•˜์—ฌ ํ•™์‹ ๋ฉ”๋‰ด๋ฅผ ๋ถˆ๋Ÿฌ์™€์„œ table.csvํŒŒ์ผ๋กœ ์ €์žฅ ํ›„ ํ˜ธ์ถœ๋งˆ๋‹ค ์•Œ๋ ค์คŒ
  • Flask๋ฅผ ์‚ฌ์šฉํ•ด์„œ POST ์š”์ฒญ ์ฒ˜๋ฆฌ ํ›„ ์ •ํ•ด์ง„ Json ํŒŒ์ผ๋กœ ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „์†กํ•œ๋‹ค.

โœ”๏ธํ”„๋กœ์ ํŠธ ์‹คํ–‰๋ฐฉ๋ฒ•

  • nohup python3 menu.py 1> /dev/null 2>&1 &์„ ์‚ฌ์šฉํ•˜์—ฌ ์‹คํ–‰
  • nohup python3 server.py &๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‹คํ–‰

โœ”๏ธPython ์˜์กด์„ฑ ์„ค์น˜

  • pip install pandas
  • pip install bs4
  • pip install selenium
  • pip install flask

โœ”๏ธ์ถ”ํ›„ ์ถ”๊ฐ€๊ธฐ๋Šฅ

  • ๋ฉ”๋‰ด ์‚ฌ์ง„์„ ์ฐ๊ณ  ์„œ๋ฒ„์— ์ž๋™์—…๋กœ๋“œ ๊ธฐ๋Šฅ ์ถ”๊ฐ€

Reference

๐Ÿง‘โ€๐Ÿ’ป๊ฐœ๋ฐœ์ž

๐Ÿ› ๏ธbjybs123
๐ŸตKiKi-Daehaksaeng
๐Ÿ˜ณkwYoohae

์นœ๊ตฌ์ถ”๊ฐ€

QRCodeImg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •