Answers for "Bs"

0

Bs

import requests
from bs4 import BeautifulSoup

url = 'http://httpbin.org/xml'
response = requests.get(url)
soup = BeautifulSoup(response.content, 'lxml')
title = soup.select_one('title')
Posted by: Guest on April-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language