in: soup.find('p', {'class': 'txt-value'}).getText()
out: 'R$ 338.000'
in: card['value'] = soup.find('p', {'class': 'txt-value'}).getText()
out: TypeError Traceback (most recent call last)
<ipython-input-76-7814b7ec2a67> in <module>
----> 1 card['1'] = soup.find('p', {'class': 'txt-value'}).getText()
TypeError: list indices must be integers or slices, not str
Deu esse erro ao colocar o valor no dicionario