This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request, json, csv | |
sellers = urllib.request.urlopen("https://www.mediavine.com/sellers.json") | |
data = json.load(sellers) | |
csv_file = "domains.csv" | |
sites = [] |
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 5 columns, instead of 1. in line 4.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL,Page Title,H1 Headline,Schema headline,Used in Discover | |
https://www.seriouseats.com/best-home-coffee-roasters-7970613,"The Best Home Coffee Roasters of 2023, Tested and Reviewed",We Went Through More Than 5 Pounds of Beans Testing At-Home Coffee Roasters,We Went Through More Than 5 Pounds of Beans Testing At-Home Coffee Roasters,H1 | |
https://www.npr.org/sections/health-shots/2023/10/17/1206283813/red-dye-food-products-fda-ban,Red dye 3 appears in many foods kids eat. Consumer advocates want FDA to ban it : Shots - Health News : NPR,FDA faces pressure to act nationwide on red dye in food,FDA faces pressure to act nationwide on red dye in food,Page title | |
https://www.kentucky.com/news/state/kentucky/article280609359.html,"Where copperheads, snakes go in the winter. Tips to keep away | Lexington Herald Leader","Where do KY’s copperheads, other snakes go in the winter? You’ll want to clean your yard","Where do KY’s copperheads, other snakes go in the winter? You’ll want to clean your yard",H1 | |
https://www.usatoda |
OlderNewer