This project is a web scraper that extracts horoscope information from a HOROSCOPE website using BeautifulSoup 4. The scraped data includes daily horoscopes for various zodiac signs, which are then saved into a structured format for further analysis or use.
To get started with this project, clone the repository and install the required dependencies.
git clone https://github.com/naitridoshi/Horoscope-Web-Scraper.git
pip install -r requirements.txt
- Run the scraper:
- Execute the main script to start scraping the data.
python scraper.py
- Output:
- The scraped data will be saved into a Text file named
data.txt
in the project directory.
- The scraped data will be saved into a Text file named
- Scrapes daily horoscope information for all zodiac signs.
- Saves the scraped data into a Text file.
- Easily configurable to scrape from different horoscope websites.
- Python 3.7+
- BeautifulSoup 4
- Requests
- Pandas
Install the required dependencies using:
pip install -r requirements.txt
Contributions are welcome! If you have any suggestions or improvements, please open an issue or create a pull request.
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Make your changes
- Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature-branch
) - Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.