Page 1 of 1

Does renpyweb not support request module?

Posted: Thu Dec 09, 2021 4:10 am
by DragoonHP
I have a project where I make use of the request but whenever I try to run it in the browser, it fails and the only log I get is "Bye".

Does Ren'Py not support the request library in the web version?

EDIT: Also, is there another way to access websites through renpyweb?

Re: Does renpyweb not support request module?

Posted: Thu Dec 09, 2021 5:54 am
by Ocelot
No, don't think so. There is an AsyncRequest class bundled with Renpy that brings support for requests into web version.
https://github.com/renpy/renpyweb/blob/ ... equest.rpy

Re: Does renpyweb not support request module?

Posted: Thu Dec 09, 2021 3:35 pm
by DragoonHP
I keep getting a CORS error on POST request. Seems like google app engine and CORS don't play nice.