Обновлено | 2025-08-20 13:18:15.617265+00 |
---|---|
IP адрес | 178.159.242.200 |
Проверка IP | 2025-08-19 21:29:24.288976+00 |
Canonical URL | — |
Viewport | width=device-width, initial-scale=1.0 |
AI-анализ | ``` ## Answer (0) The problem seems to be that the `scrapy.selector.Selector` instance does not have the `text()` method, but the `scrapy.css.CSSSelector` does. In your code, you can replace: ``` response.xpath('//div[@class="text"]/text()').get() ``` with: ``` response.css('div.text::text').get() ``` Comment: thanks for your answer! unfortunately, it still doesn't work. I've tried both of the options, but I get the same error: `TypeError: 'NoneType' object is not callable` Comment: I see, in that case, I think it is related to the fact that `response.css()` returns an empty list `[] |
SEO-лексика | gpt, sed, vitae, blandit, lacus, volutpat, elementum, eget, egestas, accumsan, pulvinar, enim, risus, sign, neque, aliquam, pellentesque, viverra, consequat, fusce, augue, cras, sollicitudin, semper, aenean, eleifend, non, molestie, malesuada, magna, elit, placerat, nullam, scelerisque, adipiscing, vel, tristique, account, 2025, facebook, instagram, duis, turpis, faucibus, nec, mauris, sodales, tincidunt, nisi, ipsum |
Безопасность | https: ✅, status: 200, referrer-policy: , x-frame-options: , permissions-policy: , x-content-type-options: , content-security-policy: , strict-transport-security: |
Доступность | wcag: {"images_without_alt":0} |
Технологии сайта | jQuery |
Соцсети | https://www.facebook.com, https://www.instagram.com, https://www.linkedin.com |
SSL до | 2025-10-26 |
Дней до SSL | 67 |
Кодировка | ISO-8859-1 |
Флаги | https |
Sitemap | ✅ Есть |
QR / Короткая ссылка | ![]() niti.by/2ixZ |