Sending info to other replits

Question: How can I send data to one of my friends replit. I am making a web scraper that scrapes for links then goes to those links to scrape for links. after it is done it saves it to a json file and i want to send the info save in the file to my friends replit to further scrape those links. also this is legal because the info is public.

Repl link: https://replit.com/@StarSnap/BeautifulSoup-website-link-finder#main.py

If your friend have a server running you can make a HTTP POST to send the data.

If you both are using replit database that can be arrenged too.

You can also create an API service where your scraper uploads the data and your friend can then make an API call to get this data.

It really falls to what you think is the most viable to your situation.

4 Likes

how could I use replit databace? I think that’s the way we are going to go

1 Like

Hi @StarSnap !
You can take a look at the docs for Replit Database.
Hope this helps!
P.S. You’ll want to take a look at the ‘Sharing Database between repls’ section of the page.

3 Likes

Note that this is highly insecure.

1 Like

You can even share an external database (ex. if you’re trying to make two games with an integrated leaderboard) on a platform like Firebase/Supabase. Then, both of you guys can post to it and read from it.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.