|
|
||
|---|---|---|
| src/utils | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| cgvAjax.js | ||
| main.js | ||
| package-lock.json | ||
| package.json | ||
| rqstTest.js | ||
README.md
CGV Booking Automation
This project is a code for automating movie bookings on CGV (Cine de Grande Vue).
Prerequisites
- Node.js
- npm/yarn
- Puppeteer
- Axios
- Moment.js
- ...
Installation
- Clone this repository to your local machine.
- Install dependencies using npm or yarn:
npm install # or yarn install - Set up environment variables by creating a
.envfile in the root directory and providing the required variables:URL_LOGIN='https://www.cgv.co.kr/user/login' URL_IPARKCGV='https://m.cgv.co.kr/WebApp/Reservation/schedule.aspx?tc=0013&rc=01&ymd=&fst=&fet=&fsrc=' CGV_ID=<your_CGV_ID> CGV_PW=<your_CGV_PW> EZPAY_PW=<your_CGV_EZpay_6_Digit_PW> BOT_TOKEN=<your_telegram_bot_token> BOT_CHATID=<your_telegram_chat_id> COOKIE=<your_CGV_cookie>
Usage
To run the script, execute the following command:
npm run dev
# or
node ./cgvAjax.js 1
Contributing
Feel free to contribute to this project by opening issues or pull requests. Any feedback or suggestions are welcome!
License
This project is licensed under the MIT License.