-
-
Save DanyF-github/c5eccae09b370a7655ad6aee448549cf to your computer and use it in GitHub Desktop.
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 requests | |
from bs4 import BeautifulSoup | |
page = requests.get("https://example.com") | |
soup = BeautifulSoup(page.content, "html.parser") | |
print(soup.find('p')) | |
>> <p>This domain is for use in illustrative examples in documents... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment