Skip to content

Instantly share code, notes, and snippets.

@mikamboo
Created August 31, 2022 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikamboo/8447501e2dfec094d6b6e55342eae84a to your computer and use it in GitHub Desktop.
Save mikamboo/8447501e2dfec094d6b6e55342eae84a to your computer and use it in GitHub Desktop.
Exemple utilisation BeatifulSoup Python
import urllib.request
from bs4 import BeautifulSoup
with urllib.request.urlopen("http://www.monkooli.com") as url:
html_page = url.read()
soup = BeautifulSoup(html_page, "html.parser")
print(soup.head.meta)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment