Created
August 31, 2022 14:47
-
-
Save mikamboo/8447501e2dfec094d6b6e55342eae84a to your computer and use it in GitHub Desktop.
Exemple utilisation BeatifulSoup Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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