Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

bs4 from url

import requests
from bs4 import BeautifulSoup

url = "https://example.com"
req = requests.get(url) # (url, headers) if you want
soup = BeautifulSoup(req.content, 'html.parser')
print(soup.prettify())
Source by hackersandslackers.com #
 
PREVIOUS NEXT
Tagged: #url
ADD COMMENT
Topic
Name
1+8 =