noobie here, had written an addon that uses Requests to login to my account and check the download count on my other addons so I can graph it without transcribing by hand – looks like this broke sometime in the last month or so.
Did a little digging and looks like there were some JS-related changes on ankiweb that obscure the login page. I figured I would be able to get through this Requests_html, but keep getting back the “this page requires js” page. Wondering if anyone has any insight into how to work around this!
session = HTMLSession() response = session.get(login_url) response.html.render(timeout=20) print(response.html) print(response.html.html)