Advanced examples for using pygooglenews
boeing
airbus
from pygooglenews import GoogleNews gn = GoogleNews() s = gn.search('boeing -airbus') print(s['feed'].title) # "boeing -airbus" - Google News
from pygooglenews import GoogleNews gn = GoogleNews() s = gn.search('intitle:boeing') print(s['feed'].title) # "intitle:boeing" - Google News
from pygooglenews import GoogleNews gn = GoogleNews() s = gn.search('intitle:boeing', when = '1h') print(s['feed'].title) # "intitle:boeing when:1h" - Google News
from pygooglenews import GoogleNews gn = GoogleNews() s = gn.search('boeing OR airbus', when = '1h') print(s['feed'].title) # "boeing AND airbus when:1h" - Google News
Was this page helpful?