Does renpyweb not support request module?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

Does renpyweb not support request module?

#1 Post 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?

User avatar
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?

#2 Post 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
< < insert Rick Cook quote here > >

DragoonHP
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?

#3 Post by DragoonHP »

I keep getting a CORS error on POST request. Seems like google app engine and CORS don't play nice.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot]