Skip to content

Commit

Permalink
Merge pull request #3833 from Lemito66/Emill_reto#18_Python
Browse files Browse the repository at this point in the history
Reto #18 - Python
  • Loading branch information
Roswell468 authored Jun 14, 2023
2 parents b0cfc5a + 70194a5 commit 49d4677
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Retos/Reto #18 - WEB SCRAPING [Difícil]/python/Lemito66.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""
* El día 128 del año celebramos en la comunidad el "Hola Mundo day"
* Vamos a hacer "web scraping" sobre su sitio web: https://holamundo.day
*
* Crea un programa que se conecte a la web del evento e imprima únicamente la agenda de eventos
* del día 8. Mostrando hora e información de cada uno.
* Ejemplo: "16:00 | Bienvenida"
*
* Se permite utilizar librerías que nos faciliten esta tarea.
*
"""

from bs4 import BeautifulSoup
import requests

blockquotes = BeautifulSoup(requests.get(
"https://holamundo.day").content).find_all("blockquote")

for blockquote in blockquotes[21:]:
print(blockquote.text)

0 comments on commit 49d4677

Please sign in to comment.