Issue: when I try to execute the script, BeautifulSoup(html, ...) gives the error message \"TypeError: object of type \'Response\' has no len(). I tried passing
you should use .text to get content of response
import requests
url = 'http://www ... '
response = requests.get(url)
print(response.text)
or use with soap
import requests
from bs4 import BeautifulSoup
url = 'http://www ... '
response = requests.get(url)
msg = response.text
print(BeautifulSoup(msg,'html.parser'))