Scrape Latest Google News Python Code

title: Contents 
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console

Overview

Sources:

  • **

Code

from GoogleNews import GoogleNews
news = GoogleNews(period='1d')
news.search("India")
result = news.result()
import pandas as pd
data = pd.DataFrame.from_dict(result)
data = data.drop(columns=["img"])
data.head()

Details

About

This note is about …

See Also


Appendix

Note created on 2024-04-23 and last modified on 2024-04-23.

LIST FROM [[Python - Scrape Latest Google News]] AND -"CHANGELOG" AND -"04-RESOURCES/Code/Python/Python - Scrape Latest Google News"

(c) No Clocks, LLC | 2024