我正在使用HTML请求库并通过登录进行传递。问题是,.render命令在JavaScript网站上对我不起作用。我被扔回登录。如果不使用.render,将显示网站,但仅在python登录后的第一秒钟显示。(https://prnt.sc/13hj1i5关注“加载到…0%”) 我已经试着在render中编写:sleep=10-x,timeout=1-20,但是没有任何东西真正帮助我
当使用.render时会显示此选项 https://prnt.sc/13hivq9
当.render未使用时会显示此信息 https://prnt.sc/13hixdw
此用户有相同的问题: Python Requests-HTML Render() - No Content
我的小代码:
从请求\u html导入HTMLSession 导入时间
将HTMLSession()作为s: geht_nicht=s.post(url=)https://cfde1.sealmedia.de/index.php?subPage=login,data=player_data) #funktioniert=s.get(url=)https://cfde1.sealmedia.de/game.php',) render(timeout=20)#timeout=x,keep_page=True about=geht\u nicht.html.find('div') 大约在以下时间进行测试: 打印(test.text)
目前没有回答
相关问题 更多 >
编程相关推荐