Just as the name suggests! This scraper utilizes Python Selenium, openpyxl, Pandas libraries and Firefox as its default browser.
This repository contains a Python script for scraping Google Autosuggestions. It was developed as part of the 4Beats INTERN TA & DevOps screening.
Author: Alina Hasan
geckodriver
to interface with Firefox. Ensure geckodriver
is located in the same directory as the script or is in your system PATH.Install Dependencies: Install the required Python libraries using pip:
pip install selenium openpyxl pandas
Download Geckodriver:
Download the appropriate version of geckodriver for your operating system from Geckodriver Releases.
A Gecko release is available in the 'Setup' folder of this repository.
Place geckodriver in the same directory as the script or add it to your system PATH.
Firefox Installation:
Ensure Firefox is installed on your system.
A Firefox Installer is available in the 'Setup' folder of this repository.
Run Script:
Either, open the provided Jupyter Notebook file in a Jupyter environment to run the script. The notebook demonstrates the functionality and provides instructions for use.
Or, run the Python file in a Python environment.
A Sample Output is provided in the 'Sample Output' folder.