python 3.11; < /li>
В среде с одной и той же версией (последняя) из запросов html; < /li>
То же, что и то же, я тестирую, и то же самое, то же самое, и тот же, и тот же, то же самое, что-то же самое с тем же, что и то же самое, и то же, то же самое, что и то же самое. Лан с Nat). < /Li>
< /ul>
на моем ноутбуке Ubunt requests_html 0.10.0 < /li>
< /ul>
Код: Выделить всё
>>> import requests_html
>>> url = 'https://www.gocomics.com/adamathome/2025/05/28'
>>> session = requests_html.HTMLSession()
>>> resp = session.get(url)
>>> html = resp.html
>>> len(html.html)
341511
>>> section = html.find('section[class^=ShowComicViewer_showComicViewer__]')[0]
>>> section
>>> section.find('img')
[]
>>> html.render()
>>> len(html.html)
1466206
>>> section = html.find('section[class^=ShowComicViewer_showComicViewer__]')[0]
>>> section.find('img')
[]
>>> requests_html.user_agent()
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8'
< /ul>
Код: Выделить всё
>>> import requests_html
>>> url = 'https://www.gocomics.com/adamathome/2025/05/28'
>>> session = requests_html.HTMLSession()
>>> resp = session.get(url)
>>> html = resp.html
>>> len(html.html)
341195
>>> section = html.find('section[class^=ShowComicViewer_showComicViewer__]')[0]
>>> section
>>> section.find('img')
[]
>>> html.render()
>>> len(html.html)
339939
>>> section = html.find('section[class^=ShowComicViewer_showComicViewer__]')[0]
>>> section.find('img')
[]
>>> requests_html.user_agent()
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8'
Подробнее здесь: https://stackoverflow.com/questions/796 ... -raspberry
Мобильная версия