I built and am releasing RbxHttpService, a free open-source HTTP client
module for Roblox that makes working with external APIs much easier.
Roblox’s default HttpService is barebones, it’s synchronous and hits
rate limits fast if you’re firing a lot of requests. RbxHttpService fixes
that with async coroutine handling and automatic request batching built in.
What it does
Async requests via coroutines — the thread suspends and resumes
automatically, no callbacks needed
Automatic request batching to stay comfortably under Roblox’s
500 requests/minute limit
Simple drop-in API — just call RequestAsync and get your response back
Does this work on top of HttpService? I’ve been looking for ways to do free unlimited web scraping, to pull web results and stuff like that in pure luau. Do you have any suggestions? Very cool module though (I’ll be using it).
Also Read the Github repository Readme aswell so you understand how to use it, and I suggest going to configurations it’s under the module’s helpers folder and then change the configuration as you will ofc but also, change the MAX_BATCH_SIZE accordingly. What that does it tells the batcher when to start flushing requests early
By default you’ll be going through my backend so I will mabye add rate limits sense I’m only on the free tier if enough people are using this of course but we’ll see.
Like say I wanted to fetch data from: Apple - Wikipedia. That’s what web scraping is. Getting data from a website. However with traditional httpservice, you’re not allowed to get data from a direct url.
Never done Web Scraping before so I wouldn’t have an exact Idea, Only thing I done mabye remotely close was getting data from something like github’s api page and constantly looking for new information via long pooling but In my case it was a blank js container page which a discord bot would post to and I’d constantly wait for information on it. What happens exactly when you do it with traditional HttpService:GetAsync() / RequestAsync’s GET Method?
You get an error, since roblox has set places you can access. You can access API’s (via api keys), and a small amount of websites that I’ve never touched.
Never realized roblox has limited sites you can request too. When you mention it I never had that issue, why do you think they limit you from reaching certain websites?
Safety issues from Http. Anybody can get dangerous or explicit content via the expansive, never ending internet. So I guess it would make sense to limit it, but it’s a huge downside to devs.