this script fetches the new york times Article search Api and retrieves all the articles released in a time range