¿Sería parte de la seguridad de Google? ¿Sería acaso porque tendría que hacer hacer scroll down para que se visualizaran más artículos?
Código:
URL = "https://news.google.com/topstories?hl=es-419&gl=MX&ceid=MX:es-419" response = requests.get(URL) if response.status_code == 200: content = response.text soup = BeautifulSoup(content, "html.parser") h3 = soup.find_all("h3", class_ = "ipQwMb ekueJc RD0gLb", limit = 20) titulos = [articulo.a.text for articulo in h3] print(titulos)