Skip to content

A tool for parsing the titles of Israeli news sites.

Notifications You must be signed in to change notification settings

YoavRamon/news-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

News Parser

This tool allows you to log the main titles of news sites in Israel.

The implementation is based on bs4.

Installation

This tool is based on Python version 3.5 and above.

to use the tool install the requirements file with pip in the following way:

pip install -r requirements.txt 

Usage

for basic usage you can use news_parser.py as an command line tool. for example, if you'll want to scrap the titles of ynet every 60 seconds you could use:

python news_parser.py ynet 60

Note: Please don't use any time that is less than 60 seconds or it might being consider as an attack by the news site.

Available modes

  1. ynet - logs ynet
  2. walla - logs וואלה!NEWS
  3. haaretz - logs הארץ
  4. kikar - logs כיכר השבת

Legal notes

This tool is considered a web scraper, please use it in an ethical way AND according to the Israeli law

I'm not responsible for any misusing of that tool.

About

A tool for parsing the titles of Israeli news sites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages