Horoscope Scraper is a Flask application that aggregates daily horoscope readings into a single page.
Horoscope Scraper uses ScrapeIt to retrieve text from various websites that display daily horoscope readings. The config is how the application determines where to go and what text to grab. The application consists only two routes: index and
Start by installing the application. While in the project root run:
pip3 install -e .[dev]
You can run the Flask server natively by running:
python3 ./horoscope_scraper/app.py
Or you can start the server inside of a Docker container:
docker build -t horoscope-scraper:1.0.0 .
docker run -p 80:5000 horoscope-scraper:1.0.0
After the server is running, navigate to http://localhost/ or http://0.0.0.0/`.
Tests are written with pytest. The tests can be started by running:
pytest
I hypothesized by aggregating daily horoscope readings it would be very easy to point out the inconsistent themes for a single zodiac sign in a day.