no message
This commit is contained in:
9
tests/site/auth.py
Normal file
9
tests/site/auth.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from requests_html import HTMLSession
|
||||
|
||||
print(1)
|
||||
session = HTMLSession()
|
||||
response = session.get("https://zapchastiya.ru/")
|
||||
print(2)
|
||||
response.html.render(wait=2) # Ждем выполнения JS, 2 секунды например
|
||||
print(3)
|
||||
print(response.html.html) # Выводим страницу после выполнения JS
|
||||
Reference in New Issue
Block a user