Gather insights from the Alexa analytics website to see what is trending.
This is the root Alexa webpage that this script can crawl within.
Being a inquisitive person and in college, I had to figure out what topics were trending in
different domains like Science, Religion, Technology and set my future goals based on the insights
gathered. But however there was a roadblock that I met, which was the costly API interface which Amazon
offered. So to find a solution for that I created this script.
For a given copied url of a certain topic like, let's say Science from one of these topics.
It will give the below results. [ l - light analysis ]
And here is the in depth version. [ d - in depth analysis]
git clone https://github.com/soulbliss/alexa-trends-finder.git
cd alexa-trends-finder
pip install requirements.txt
cd alexa-trends-finder
#python3 core.py --help
There are two ways to use this:
- If you have the url copied then.
python core.py
-
If you want to type the url then.
python core.py -u https://www.alexa.com/topsites/category/Top/News
Usage: core.py [OPTIONS]
Options:
-u, --url TEXT Accepts the url that needs to be digged. You can
have the link copied also.
-o, --output_type TEXT l for Light analysis, d for in depth analysis
--help Show this message and exit.
The scraped folder contains the results for all major topics
- Incorporate sentiment analysis for extracting insights.
- include the help argument handler.
- Smart crawling by limitting requests sent per second.
- Add the asciinema on the readme page.