Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1.04 KB

README.md

File metadata and controls

15 lines (9 loc) · 1.04 KB

NYTimes-Web-Scraper

An easier way to search New York Times articles by keyword formatted in an excel format

Sign up for an API key from this link: https://developer.nytimes.com/. You do not need a NYT subscription to get a key, but much recommended to read the actual articles!

See this for more usage and modifying code https://developer.nytimes.com/docs/articlesearch-product/1/overview.

Example of output. Output is saved into an excel file as well image

To save multiple open tabs into an excel sheet, (1) right click next to the rightmost tab on chrome, (2) bookmark all tabs, (3) saved the bookmark as an html file -- convert to an html file if it is in a different format, (4) copy file path to bookmarks_file into linkScraper.py, (5) python program will save the file's name and URL

Example of excel file:

image