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?
Does renpyweb not support request module?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Ocelot
- Lemma-Class Veteran
- Posts: 2407
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Does renpyweb not support request module?
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
https://github.com/renpy/renpyweb/blob/ ... equest.rpy
< < insert Rick Cook quote here > >
-
- Miko-Class Veteran
- Posts: 758
- Joined: Tue Jun 22, 2010 12:54 am
- Completed: Christmas
- IRC Nick: DragoonHP
- Location: Zion Island, Solario
- Contact:
Re: Does renpyweb not support request module?
I keep getting a CORS error on POST request. Seems like google app engine and CORS don't play nice.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot]