問題:スクリプトを実行しようとすると、 "TypeError:タイプ 'Responseのオブジェクト'にlen()がありません。実際のパラメータとしてHTMLが、それはまだ動作しません。Python: 'Response'型のオブジェクトにlen()がありません。
import requests
url = 'http://vineoftheday.com/?order_by=rating'
response = requests.get(url)
html = response.content
soup = BeautifulSoup(html, "html.parser")
[ページパーサーの読み込み方法]の複製(0120-385-331) –
あなたはどのバージョンのbeautifulsoupを使用していますか?これは私のために働くようです –