Skip to content

Web scraper to analyze the positive or negative score of news items with its amount of subjectivity

Notifications You must be signed in to change notification settings

sdpb/newspaper-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newspaper analyzer

Given a newspaper URL, a quantity of news items to analyze, and the original newspaper's language (two letters), this script returns the positive or negative score of each news item with its amount of subjectivity.

NOTE: Due to the computational requirement, is recommended to select a little amount of news.

Use

python3 scraper.py <NEWSPAPER URL> <AMOUNT OF NEWS> <NEWSPAPER'S LANGUAGE>

To see language options and general help to know more about the script usage

python3 scraper.py [-h | --help]

Example

python3 scraper.py "https://www.eltiempo.com/" 5 es

License

MIT

About

Web scraper to analyze the positive or negative score of news items with its amount of subjectivity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages