Skip to content

Kellogg bad | Union good | Support strike funds

License

Notifications You must be signed in to change notification settings

bolshoytoster/KelloggBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KelloggBot

Setup
Usage

Credit to SeanDaBlack for the basis of the script.

main.py is selenium python bot. sc.js is a the base of the ios shortcut [COMING SOON]

Setup

On mac/pc:

pip install -r requirements.txt

This will install webdriver-manager to automatically download the correct chrome driver. If you are having issues opening having it open chrome, check https://github.com/SergeyPirogov/webdriver_manager.

Poppler must be installed for pdf2image. Follow the instructions at https://pdf2image.readthedocs.io/en/latest/installation.html to install.

pdflatex must also be available. If you're unsure where to start with that, follow the official instructions. (Mac users: I'd recommend using Homebrew to install BasicTex.). (On linux you'll have to install the texlive-latex-base package on whatever package manager you use.).

If you get a FileNotFoundError: [WinError 2] The system cannot find the file specified, chances are you're missing some fonts. Running tlmgr install collection-fontsextra and tlmgr install collection-fontsrecommended in the terminal/command line should fix this.

python main.py to run. It will loop until you kill the job. ctrl + c in your terminal to give HR a break (optional).

Mac:

You might also get a trust issue with the downloaded driver being unverified. To fix that, run

xattr -d com.apple.quarantine chromedriver

this just tells the OS it's safe to use this driver, and Selenium will start working. See https://timonweb.com/misc/fixing-error-chromedriver-cannot-be-opened-because-the-developer-cannot-be-verified-unable-to-launch-the-chrome-browser-on-mac-os/ for more info.

Usage

usage: A script to automate very legitimate applications to kellogg's production plants affected by union strikes
       python3 main.py [-h] [--debug] [--mailtm]

options:
  -h, --help  show this help message and exit
  --debug     Puts script in a 'debug' mode where the Chrome GUI is visible
  --mailtm    Uses mail.tm instead of guerrilla mail by default

Kellogg bad | Union good | Support strike funds

About

Kellogg bad | Union good | Support strike funds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 85.3%
  • Python 14.7%