A Python script that uses OpenCV and PyAutoGUI to automate scrolling on a webpage.
- Uses OpenCV to detect the scroll bar on a webpage
- Uses PyAutoGUI to simulate scrolling
- Smooths the scrolling motion using exponential smoothing
- Python 3.8+
- OpenCV 4.5+
- PyAutoGUI 0.9+
- NumPy 1.20+
- Clone the repository:
git clone https://github.com/your-username/auto-scroller.git - Navigate to the project directory:
cd auto-scroller - Install the requirements:
pip install -r requirements.txt
- Run the script:
python auto_scroller.py - The script will start scrolling automatically.
- You can adjust the scrolling speed by modifying the
scrolling_speedvariable in the script. - You can adjust the smoothing factor by modifying the
smoothing_factorvariable in the script.
This project is licensed under the MIT License.