Skip to content
Trending news headlines fetcher
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
DailyNews.py
LICENSE
README.md
requirements.txt

README.md

DailyNews

Trending news headlines fetcher

Runs on Python3 (v3.5 and above) on Ubuntu

Install File Dependencies for this program by running:-

sudo pip3 install -r requirements.txt

Before using this program, Create a file named apikeys.py and get an API Key from News Articles API after creating an account check this link and then in the apikeys.py file, enter

apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX

After which one can run the program (on Ubuntu) by:

sudo python3 DailyNews.py

Known Bugs/Issues

Currently, the program is known to run slowly (takes atleast 5-6 min) which is bound to occur on slow internet connections (since around 80-90 MB of images are downloaded). Exception Handling for requests, especially Timeout Errors will be added soon to optimize this program/script.

Powered by:NewsAPI

You can’t perform that action at this time.