Django tool to scrape news from inshorts.com for a given date and storing them in json files
>>> cd Inshorts/
>>> python3 manage.py runserver
You will then be prompted to a page with today's news displayed.
- Choose the ones you want to keep.
- Or you could select news from some other date by choosing the required date in the date field.
The news selected will be written to write_yes.json
and the ones not selected into write_no.json
.
This can thus be used to acquire data for use in some classification tasks.
I built this tool primarily to select news suitable for school children(cuss words are taken care of!).
Please note: If you want to empty the json files, you can do so. But please make sure the file then contains a '[]' after emptying(as is now).