LeilaZa / NY-Scraper

Collect articles from news websites (NewYork Times)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New York Times- Web Scraper - Python

This Python code collect articles from The New York Times over your provided link

The output CSV file provide date, type of the article, author, link of the atricle and the content of the articles
Use webdriver.Chrome to point to the downloaded chromdriver (.exe in winodows OS) file.

browser = webdriver.Chrome("desired directory path")

Use browser.get to input your desired link. You only need to replace the link in the code where you see below code:

browser.get("Put your link here")

About

Collect articles from news websites (NewYork Times)


Languages

Language:Python 100.0%