Go to file
SeungJu Lim f1d7347ba2 add schedule debugging 2024-03-25 23:53:59 +09:00
src/utils add schedule debugging 2024-03-25 23:53:59 +09:00
.gitignore add winston logger & fix logging processing 2024-03-06 23:08:51 +09:00
LICENSE Initial commit 2024-02-12 07:49:14 +00:00
README.md Update README.md 2024-02-12 08:31:57 +00:00
cgvAjax.js add schedule debugging 2024-03-25 23:53:59 +09:00
main.js add whole workspace 2024-02-12 17:16:51 +09:00
package-lock.json add winston logger & fix logging processing 2024-03-06 23:08:51 +09:00
package.json add winston logger & fix logging processing 2024-03-06 23:08:51 +09:00
rqstTest.js fix console timer code exec location 2024-02-25 20:19:05 +09:00

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

  1. Clone this repository to your local machine.
  2. Install dependencies using npm or yarn:
    npm install
    # or
    yarn install
    
  3. Set up environment variables by creating a .env file 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.