Skip to content

Commit

Permalink
Merge pull request #4367 from ShinMugenNoKabe/reto18
Browse files Browse the repository at this point in the history
Reto #18 - Python
  • Loading branch information
kontroldev authored Jul 30, 2023
2 parents 9e72e0b + 78383b6 commit 5739fd0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Retos/Reto #18 - WEB SCRAPING [Difícil]/python/ShinMugenNoKabe.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from bs4 import BeautifulSoup
import requests

request = requests.get("https://holamundo.day/")
scrap = BeautifulSoup(request.content, "html.parser")


blockquotes = scrap.find_all("blockquote", attrs={"class", "BlockquoteElement___StyledBlockquote-sc-1dtx4ci-0 slate-BlockquoteElement notion-quote unset-width"})

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

0 comments on commit 5739fd0

Please sign in to comment.