I have worked on some websites using selenium to automate logins and data collections.
Websites:
(1) NSS IITH Website
(2) Aims IITH Website
(3) Cricbuzz notification through whatsapp Website
(4) NTA Results bruteforcing date of birth(Use at your own risk,Iam not liable for any legal action) Website
(5) Spamming your friends through random whatsapp texts.Website
You are going to need some modules mentioned below.
Tested on Ubuntu 20.04 LTS
Code is created with:
- Ubuntu 20.04 LTS
- Selenium version : 3.141.0
- Chromedriver version : 90.0.4430.24 (Always use same version of chromredriver as of chrome)(Better to use latest version)
- Python library version : Python 3.8.5
- opencv-python version : 4.5.1 (To detect captcha)(optional)
- Easy ocr version : 1.3.1
- numpy version : 1.19.5
- Jupyter (Optional) : 6.3.0
To run this project, install above modules locally using pip or pip3:
$ pip3 install selenium
$ pip3 install opencv-python
$ pip3 install easyocr
$ pip3 install numpy
$ pip3 install jupyterlab
$ apt install chromium-chromedriver
or you can just download the latest version of chromedriver from Website
and run in terminal
$ pip3 install -r requirements.txt
Automate file is for IITH students only
(1) NSS Automated Login Gif.
(2) Aims Automated Login Gif.
Aims second captcha accuracy is 68% only so if there is an error run the code again.
(3) Cricbuzz notification through whatsapp texts.
(4) NTA Bruteforcing Login Gif.
(5) Spamming friends with random texts.
If you need any help in automating logins of any website or come across any error create an issue here.