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
BeautifulSoup(html, ...)
Try to pass the HTML text directly
soup = BeautifulSoup(html.text)