он говорит:
строка 109 в AttributeError: «объект str' не имеет атрибута
'text
Очистка информации о продукте на основе выбранных цветов
Код: Выделить всё
if blue and cinder:
productInfo(urlBlueResponse.text)
productInfo(urlCinderResponse.text)
elif blue:
productInfo(urlBlueResponse.text)
elif cinder:
productInfo(urlCinderResponse.text)
else:
print(Fore.RED + timestamp
Подробнее здесь: https://stackoverflow.com/questions/455 ... ibute-text
Мобильная версия