答案 0 :(得分:0)
我似乎没有这个问题...您的代码与此明显不同吗?
import requests
from bs4 import BeautifulSoup
url = 'https://rs.olx.com.br/regioes-de-porto-alegre-torres-e-santa-cruz-do-sul/imoveis/casa-em-canoas-no-bairro-igara-iii-457256663'
resp = requests.get(url)
soup = BeautifulSoup(resp.content, 'html.parser')