Welcome to the Web Scraping Scripts project! This repository contains various scripts designed to extract data from different sources such as Google Trends, Unsplash, and Yahoo Finance. These scripts utilize powerful libraries including Selenium, Chrome WebDriver, Requests, BeautifulSoup4, lxml, csv, and Pillow to perform the scraping tasks and save the extracted data into CSV files.
For any queries or issues, please contact the developer
- .venv/: Virtual environment directory.
- google_trends/: Contains scripts and data related to Google Trends scraping.
google_trends_europe.csv: CSV file containing Google Trends data for Europe.trends.py: Python script for scraping Google Trends data.
- UNSPLASH_premium/illustrations/: Contains scripts and data related to Unsplash premium illustrations scraping.
illustrations_unsplash_premium_scrapper.py: Python script for scraping Unsplash premium illustrations.- LOGS/: Directory for log files.
- SAVES/: Directory for saved data.
- YAHOO! Finance/: Contains scripts and data related to Yahoo Finance scraping.
mutual_funds_screener.py: Python script for scraping Yahoo Finance mutual funds data.finance_scraping_mutualfunds.log: Log file for Yahoo Finance scraping.yahoo_finance_mutualfunds.csv: CSV file containing Yahoo Finance mutual funds data.
README.md: Project documentation file.requirements.txt: List of project dependencies.
- Python 3.x
- Selenium
- Chrome WebDriver
- Requests
- BeautifulSoup4
- lxml
- csv
- Pillow
- Clone the repository to your local machine.
- Navigate to the project directory.
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
- On Windows:
.venv\Scripts\activate
- On macOS/Linux:
source .venv/bin/activate
- On Windows:
- Install the required dependencies:
pip install -r requirements.txt
- Ensure the virtual environment is activated.
- Run the desired script using Python:
python path/to/script.py