Skip to content

ajcheng1/SavedArticlesWebScraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages