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
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