GitHub - SeanDaBlack/KelloggBot: Kellogg bad | Union good | Support strike funds
source link: https://github.com/SeanDaBlack/KelloggBot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
KelloggBot
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 also be installed for pdf2image. Follow the instructions at https://pdf2image.readthedocs.io/en/latest/installation.html to install.
It needs to be found in your PATH
variable.
export PATH=$PATH:$(pwd)
python main.py
to run. It will loop until you kill the job. ctrl + c
in your terminal to give the pro lifes a break (optional).
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.
You will also need to install ffmpeg if it is not already installed: Mac installation guide Windows installation guide
Recommend
-
66
Kellogg’s 家乐氏 草莓什锦水果麦片 490g *2件 39.9元(2件5折),来自什么值得买甄选出的京东优惠产品,汇聚数十万什么值得买网友对该网购产品的点评。
-
3
Nash appoints new CEO, Kellogg Fairbank, former head of global business development – HodlalertNash appoints new CEO, Kellogg Fairbank, former head of global business development...
-
6
Diana Kellogg Architects与CITTA用教育与工艺反转印度女性的弱势地位! 建筑 / 观点 /
-
1
AbBOT Credit to SeanDaBlack for the basis of the script. New Repos Active development has moved to seperate projects for each effort. Discord Server https://dis...
-
4
Breakfast Foods / Fruits and Vegetables /
-
4
11-week Kellogg’s strike to end after multi-year agreement reachedDecember 21, 2021 at 8:10 am PSTBy Natalie Dreier, Cox Media Group National Content DeskThe 11-week strike at Kellogg’s has come to an end after workers approved a co...
-
3
Image Comics Workers Win Union Election in Historic First for Comics IndustryAfter management failed to voluntarily recognize the union, Image workers have won an NLRB election to become the first unionized com...
-
5
Kellogg is split...
-
4
There’s a reason Starbucks workers picked today to strike Empty stores and unused red cups: A look at the Starbucks strikes. By...
-
3
Kellogg snack business to be named 'Kellan...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK