Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 567 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 567 Bytes

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")