zchangdInstagram

the reddit json endpoint trick.

0:51English(auto-generated)5 segments225 words · 1 min read

Search inside any video

SavedThat transcribes your saved videos and lets you search across all of them instantly. Save this video and find any moment.

TL;DR

Learn how to scrape Reddit data without using the API by leveraging the Reddit.JSON endpoint and Cloud Code for efficient data extraction.

scraping Reddit dataReddit JSON endpointCloud Code scrapingPython function for Redditbypassing Reddit APIcompetitive research on Redditextracting Reddit commentsReddit data analysis

Chapters

  1. 0:00Introduction to Reddit JSON endpoint
    01
  2. 0:10How to scrape Reddit without API
    02
  3. 0:20Using Cloud Code for scraping
    03
  4. 0:30Building a Python function
    04
  5. 0:40Analyzing scraped data
    05
  6. 0:50Conclusion and community service
    06

Transcript

0:00

Did you guys know that you can use CloudCo to scrape Reddit without using the Reddit API? Okay, let me show you how to do this. Now, the way I do this is take advantage of something known as the Reddit.JSON endpoint. , Reddit exposes unofficial .json endpoints on every Reddit page, which returns structured data without needing to use any authentication. So you can just append .json to the end of any Reddit

0:14

any authentication. So you can just append .json to the end of any Reddit URL and get the raw contents of it. And , therefore, scrape leads, comments, data, all that stuff to your heart's content. So I use Cloud Code to build a scrape Reddit Python function, which takes advantage of these endpoints using a request library, which allows me to bypass any need for any Reddit API keys and just scrape

0:29

which allows me to bypass any need for any Reddit API keys and just scrape Reddit as much as I want. So you can see here, I scraped the Cloud Code subreddit and just asked it to tell me about five new features that people are talking about based on upvotes and then tell me what people about them and what people dislike about them. Anyways, I've been using this for myself to keep on top of Cloud Code Trends and also my clients to help them with competitive

0:45

on top of Cloud Code Trends and also my clients to help them with competitive research, but thought I'd share it here as a service to the community, okay? Enjoy.

0:48

research, but thought I'd share it here as a service to the community, okay? Enjoy.

Are you the creator or rights holder of this video? Request removal of this transcript.

Related Transcripts

Never lose a moment again

Save videos from YouTube, Instagram, and TikTok. Search across all your transcripts with AI-powered semantic search.

Start Saving Videos — Free Trial