![]() ![]() Reddit’s API gives you about one request per second, which seems pretty reasonable for small-scale projects. PRAW is a Python wrapper for the Reddit API, which enables you to scrape data from subreddits. Importing required Libraries import numpy as np import pandas as pd import praw #for reddit wrapper import matplotlib.pyplot as plt #for basic visualizations import networkx as nx #to create Network Graphs What all Redditors are in common between subreddits. We will be using the NetworkX library to create graphs and see how users influence other subreddits. We can find out the most influential users by identifying important nodes using network analysis. Networks or Graphs are a set of objects (called nodes) having some relationship with each other (called edges). ![]() And one subreddit influences other subreddit in a direct or indirect way. These subreddits are not organized in any systematic way though, and Reddit users usually find out about new subreddits through word of mouth meaning from one subreddit they find another new subreddit. Users subscribe to “subreddits” which are centered around different topics or communities of their interest. Subreddits are content-centric rather than user-centric. Reddit is made up of thousands and thousands of smaller forums called subreddits. Reddit is more like social news aggregation and discussion website where users react and comment on different posts. What platform comes to your mind when you heard something about social media?Facebook, Twitter, Instagram? Did you know there are social media platforms other than those mentioned above? You must have heard about Reddit. The image shows how different channels are related to each other INTRODUCTION
0 Comments
Leave a Reply. |