Skip to content

godfatherofdevil/news_Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

news_Scrapper

web service to scrape news items from BBC and return the result in a JSON response Currently supported sections: -> news, sport, weather, travel, culture, capital, future, food, art, bitsize

to get the data from these section on bbc.com, make a get request with two query paramas -> chapter : the section from where you want the results, news: number of top news that you want

To run locally:

  1. git clone
  2. python -m venv env
  3. pip install -r requirements.txt
  4. python manage.py runserver

or make a get request to :
https://radiant-depths-22682.herokuapp.com/

example : GET https://radiant-depths-22682.herokuapp.com/?chapter=sport&news=10 This will return top ten sports news from https://bbc.com

About

web service to scrape news items from BBC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages