Skip to content

cuiy0006/ca-appt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

NOTE: Use Chrome if possible, Chrome is more stable than Chromium
Get available slots from ais.usvisa-info.com
Notify by

  1. Console print
  2. Play a notif sound
  3. Send emails

Build

node version: v16.13.2

npm install

Run

QUERYNO='[Query NO, ask me if you don't know how to get it]' \
EMAIL='[Your Account Email]' \
PASSWORD='[Your Account Password]' \
INTERVAL='[Crawl Interval in Minute]' \
LOWER='[Notify if found at least n days from now]' \
UPPER='[Notify if found at most n days from now]' \
SENDER='[Sender email (outlook)]' \
SENDERPSWD='[Sender email account password]' \
RECEIVERS='[List of receiver emails]' \
npm start

Example:

QUERYNO='37002109' \
EMAIL='1234567@gmail.com' \
PASSWORD='apasswordisapassowrd' \
INTERVAL='1' \
LOWER='7' \
UPPER='365' \
SENDER='12345@outlook.com' \
SENDERPSWD='********' \
RECEIVERS='["54321@gmail.com","qwert@gmail.com"]' \
npm start

Troubleshooting

  1. On Arm Linux, add executablePath param pointing to chromium binary. For example, on Raspberry Pi OS,
    const browser = await puppeteer.launch({
        ...,
        executablePath: '/usr/bin/chromium-browser'
    });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published