Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/queue-ri/korea-covid-19-vaccine-reservation

πŸ’‰ μ½”λ‘œλ‚˜ μž”μ—¬λ°±μ‹  μ˜ˆμ•½ 맀크둜 μ»€μŠ€ν…€ λΉŒλ“œ (속도 ν–₯상 버전)
https://github.com/queue-ri/korea-covid-19-vaccine-reservation

chrome covid-19 kakao python vaccine

Last synced: 3 months ago
JSON representation

πŸ’‰ μ½”λ‘œλ‚˜ μž”μ—¬λ°±μ‹  μ˜ˆμ•½ 맀크둜 μ»€μŠ€ν…€ λΉŒλ“œ (속도 ν–₯상 버전)

Awesome Lists containing this project

README

        

# πŸ’‰ Korea-Covid-19-Vaccine-Reservation
![Kakao](https://img.shields.io/badge/Kakao-ffcd00.svg?style=flat&logo=kakao&logoColor=000000) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![latest release](https://img.shields.io/github/v/release/Queue-ri/Korea-Covid-19-Vaccine-Reservation)](https://github.com/Queue-ri/Korea-Covid-19-Vaccine-Reservation/releases) [![Python Lint](https://github.com/Queue-ri/Korea-Covid-19-Vaccine-Reservation/actions/workflows/python-lint.yml/badge.svg)](https://github.com/Queue-ri/Korea-Covid-19-Vaccine-Reservation/actions/workflows/python-lint.yml)

[μ½”λ‘œλ‚˜ μž”μ—¬ λ°±μ‹  μ˜ˆμ•½ 맀크둜](https://github.com/SJang1/korea-covid-19-remaining-vaccine-macro)λ₯Ό 기반으둜 ν•œ μ»€μŠ€ν…€ λΉŒλ“œμž…λ‹ˆλ‹€.

**더 λΉ λ₯Έ λ°±μ‹  μ˜ˆμ•½μ„ λͺ©ν‘œλ‘œ ν•˜λ©°, 속도λ₯Ό μš°μ„ ν•˜κΈ° λ•Œλ¬Έμ— μ‚¬μš©μžλŠ” 이에 λŒ€μ²˜κ°€ κ°€λŠ₯ν•΄μ•Ό ν•©λ‹ˆλ‹€.**

μ§€μ •ν•œ μ’Œν‘œ λ‚΄ λŒ€κΈ°μ€‘μΈ λ³‘μ›μ—μ„œ μž”μ—¬ 백신이 확인될 μ‹œ μ„€μ •ν•œ λ°±μ‹  μ’…λ₯˜λ‘œ μ˜ˆμ•½μ„ μ‹œλ„ν•©λ‹ˆλ‹€.

## πŸ“Œ λ³€κ²½ 사항
### 속도 ν–₯상
- **request delayκ°€ μ—†μŠ΅λ‹ˆλ‹€. μ£Όμ˜ν•΄μ£Όμ„Έμš”.** *(λ³€κ²½ μ „: 200ms)*
- μ˜ˆμ•½ μ‹€νŒ¨ μ‹œμ˜ delayκ°€ μ—†μŠ΅λ‹ˆλ‹€. *(λ³€κ²½ μ „: 80ms)*
- λŒ€κΈ° 쀑인 병원 λ¦¬μŠ€νŠΈλŠ” `p` ν‚€λ₯Ό λˆ„λ₯Ό μ‹œμ—λ§Œ 좜λ ₯λ©λ‹ˆλ‹€. *(λ³€κ²½ μ „: 항상 좜λ ₯)*
- μž”μ—¬ λ°±μ‹  발견 μ‹œ, μš°μ„  μ˜ˆμ•½ μ‹œλ„ ν›„ 발견 μ•ˆλ‚΄λ¬Έμ„ 좜λ ₯ν•©λ‹ˆλ‹€. *(λ³€κ²½ μ „: μ•ˆλ‚΄λ¬Έ 좜λ ₯ ν›„ μ˜ˆμ•½ μ‹œλ„)*
- `ANY` μ˜΅μ…˜μ˜ λ‘œμ§μ„ λΆ„λ¦¬ν•˜μ—¬ ν”„λ‘œμ‹œμ €λ₯Ό κ°„μ†Œν™”ν•©λ‹ˆλ‹€. v1.3λΆ€ν„° μ§€μ›λ©λ‹ˆλ‹€. *(λ³€κ²½ μ „: λΆ„λ¦¬λ˜μ§€ μ•ŠμŒ)*
- μž”μ—¬ 백신이 μžˆλŠ” 병원이 μ—¬λŸ¬ 곳일 λ•Œ, ν•œ 곳의 μ˜ˆμ•½μ΄ μ‹€νŒ¨ν•΄λ„ λ°”λ‘œ λ‹€μŒ 병원에 μ˜ˆμ•½μ„ μ‹œλ„ν•©λ‹ˆλ‹€. *(λ³€κ²½ μ „: λ‹€μŒ 병원 μŠ€ν‚΅)*
- μž”μ—¬ λ°±μ‹  λ¬ΌλŸ‰μ΄ λ§Žμ€ 순으둜 μ˜ˆμ•½μ„ μ‹œλ„ν•˜κ³ , λ¬ΌλŸ‰μ΄ μ—†λ‹€λ©΄ `break` ν›„ μ„œλ²„μ— λ‹€μ‹œ μš”μ²­ν•©λ‹ˆλ‹€. *(λ³€κ²½ μ „: `break` μ—†μŒ)*

### UI/UX
- **`Default`κ°€ μ•„λ‹Œ 크둬 ν”„λ‘œνŒŒμΌμ„ μ§€μ›ν•©λ‹ˆλ‹€.** (v1.6 λΆ€ν„° 지원)
- **μž”μ—¬ 백신이 μžˆμ–΄λ„ μ„ νƒν•œ 백신이 μ—†λŠ” 병원을 μΌμ‹œμ μœΌλ‘œ μŠ€ν‚΅ν•˜λŠ” 필터링 λͺ¨λ“œλ₯Ό μ§€μ›ν•©λ‹ˆλ‹€.** (v1.7 λΆ€ν„° 지원)
- `playsound`κ°€ λΆˆμ•ˆμ •ν•˜μ—¬ mp3 경둜 μˆ˜μ • 및 라이브러리λ₯Ό λ³€κ²½ν–ˆμŠ΅λ‹ˆλ‹€. ν•˜λ‹¨μ˜ **주의 사항**을 μ°Έκ³ ν•΄μ£Όμ„Έμš”.
- 편의λ₯Ό μœ„ν•΄ μ—°λ™λœ 카카였 μ‚¬μš©μžλͺ…이 좜λ ₯λ©λ‹ˆλ‹€.
- μ‹€ν–‰ μ‹œ μ»€μŠ€ν…€ λΉŒλ“œ μ•ˆλ‚΄μš© λ°°λ„ˆκ°€ 좜λ ₯λ©λ‹ˆλ‹€. (버전은 v1.5λΆ€ν„° ν‘œμ‹œλ©λ‹ˆλ‹€.)
```
* * * * * * * * * * * * * * * * * * *
* *
* KC19VR CUSTOM BUILD *
* v1.x by Queue_ri *
* *
* * * * * * * * * * * * * * * * * * *
```

### μ½”λ“œ 정리
- μž”μ—¬ λ°±μ‹  쑴재 병원이 None인지 κ²€μ‚¬ν•˜λŠ” ꡬ문이 μ œκ±°λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
- `find_vaccine`μ—μ„œμ˜ `while` 문을 `break` ν•˜μ§€ μ•Šκ³  λ°”λ‘œ `try_reservation`을 ν˜ΈμΆœν•©λ‹ˆλ‹€.
- `try_reservation` 호좜 λ‹¨μ˜ 쑰건문이 μ œκ±°λ˜μ—ˆμœΌλ©°, response νŒŒμ‹± 둜직이 κ°„μ†Œν™”λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
- `clear`, `resource_path` ν•¨μˆ˜κ°€ μ œκ±°λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

## πŸ“Œ 이용 방법
### κΈ°λ³Έ μ‚¬μš©λ²•
1. [카카였 μ‚¬μš©μž μΏ ν‚€ μ°ΎλŠ”λ²•](https://github.com/Queue-ri/Korea-Covid-19-Vaccine-Reservation/blob/main/docs/cookie-manual.md)을 μ°Έκ³ ν•˜μ—¬ ν”„λ‘œκ·Έλž¨μ— 백신을 μ˜ˆμ•½ν•  카카였 계정을 μ—°λ™ν•©λ‹ˆλ‹€.
2. [μ’Œν‘œ κ°’ μ°ΎλŠ”λ²•](https://github.com/Queue-ri/Korea-Covid-19-Vaccine-Reservation/blob/main/docs/coords-manual.md)을 μ°Έκ³ ν•˜μ—¬ 탐색할 λ²”μœ„μ˜ μ’Œν‘œλ₯Ό μ•Œμ•„λ‘‘λ‹ˆλ‹€.
3. `pyinstaller`둜 `cb.py`λ₯Ό λΉŒλ“œν•©λ‹ˆλ‹€. **더 λΉ λ₯Έ μ„±λŠ₯을 원할 경우 `nuitka`둜 λΉŒλ“œν•©λ‹ˆλ‹€.** [(λΉŒλ“œ 방법)](https://github.com/Queue-ri/Korea-Covid-19-Vaccine-Reservation/blob/main/docs/build-manual.md)
4. λ°±μ‹  μ½”λ“œ, μ’Œν‘œ, μ˜΅μ…˜μ΄ μž…λ ₯되면 μžλ™ μ˜ˆμ•½μ„ μ‹œλ„ν•©λ‹ˆλ‹€. 이전 μ„€μ •(`config.ini`)이 μžˆλ‹€λ©΄ ν•΄λ‹Ή 섀정을 μž¬μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
5. μ˜ˆμ•½ 성곡 μ‹œ 빡빠레 μ†Œλ¦¬μ™€ ν•¨κ»˜ μ˜ˆμ•½μ΄ μ„±κ³΅ν–ˆμŒμ΄ μ•ˆλ‚΄λ©λ‹ˆλ‹€.

### ν…”λ ˆκ·Έλž¨μœΌλ‘œ κ²°κ³Ό μ „μ†‘ν•˜κΈ°
1. λ‹€μŒμ˜ λ‚΄μš©μœΌλ‘œ `telegram.txt`λ₯Ό μž‘μ„±ν•©λ‹ˆλ‹€. [(μΆ”κ°€ μ„€λͺ…)](https://github.com/SJang1/korea-covid-19-remaining-vaccine-macro/discussions/574)
```
[telegram]
token = 토큰값
chatid = μ±„νŒ…λ°©ID
```
2. `exe` μ‹€ν–‰ μ „ `telegram.txt`λŠ” `exe`와 같은 κ²½λ‘œμ— μœ„μΉ˜ν•΄μ•Ό ν•©λ‹ˆλ‹€.

## πŸ“Œ 주의 사항
- **ν”„λ‘œκ·Έλž¨μ„ λ™μ‹œμ— λ„ˆλ¬΄ 많이 μ‹€ν–‰ν•˜λ©΄ 카카였 계정이 정지될 수 μžˆμŠ΅λ‹ˆλ‹€.**
- 였λ₯˜κ°€ λ°œμƒν•˜κ±°λ‚˜ μ˜ˆμ•½μ— μ„±κ³΅ν•œ 경우 ν”„λ‘œκ·Έλž¨μ΄ μžλ™ μ’…λ£Œλ©λ‹ˆλ‹€.
- μ˜ˆμ•½ μ‹œλ„κ°€ λ°˜λ“œμ‹œ μ„±κ³΅ν•œλ‹€λŠ” 보μž₯은 μ—†μŠ΅λ‹ˆλ‹€.
- **μ‹€ν–‰ μ „, `exe` 파일이 `mp3` 파일과 같은 κ²½λ‘œμ— μœ„μΉ˜ν•΄μ•Ό ν•©λ‹ˆλ‹€.**
- tmux, screenκ³Ό 같은 터미널 λ©€ν‹°ν”Œλ ‰μ‹± ν”„λ‘œκ·Έλž¨μ΄ μžλ™μœΌλ‘œ μ‹€ν–‰λ˜μ§€ μ•Šμ•„μ•Ό ν•©λ‹ˆλ‹€.
- λ°”μ΄λŸ¬μŠ€κ°€ 탐지될 μ‹œ μ΄λŠ” μ˜€μ§„(false positive)μž…λ‹ˆλ‹€.

## πŸ“Œ Disclaimer
- λ³Έ ν”„λ‘œκ·Έλž¨μ€ 맀크둜λ₯Ό μ΄μš©ν•œ λ°±μ‹  μ˜ˆμ•½μ„ μœ λ„ν•˜λŠ” λ‚΄μš©μ΄ μ•„λ‹ˆλ©°, ν•΄λ‹Ή ν”„λ‘œκ·Έλž¨μ„ μ‚¬μš©ν•¨μœΌλ‘œμ„œ μƒκΈ°λŠ” μ±…μž„μ€ λͺ¨λ‘ 이용자 λ³ΈμΈμ—κ²Œ μžˆμŠ΅λ‹ˆλ‹€.