Viola! You get your table of all the posts, their URLs, the score, and the number of comments. Result=get_reddit(subreddit,listing,limit,timeframe) Then we create a loop to go through each subreddit we want to pull data for. def get_reddit(subreddit,listing,limit,timeframe):īase_url = f'ĭf = pd.om_dict(myDict, orient='index') Use the settings above, we define a get_reddit() function. New sorts post by the time of submission with the newest at the top of the page.Rising is what is getting a lot of activity (comments/upvotes) right now. Some people post textbooks on there even though its main use is to find articles This is where I get PDFs of French Textbooks to study.Hot are posts that have gotten a lot of votes recently, either up or down, so it shows relatively new posts that are getting attention.Controversial gives high scores to posts that have a lot of both upvotes and downvotes - a lot of people like it but a lot of people also dislike it. Sci-Hub Z library PDF Drive 5 amazing websites to download books for FREE Watch on You can browse different topics and find a book that can be useful when not looking for something specific.Best is more about the proportion of upvotes to downvotes.Top is the raw score, upvotes minus downvotes.Select the type of post in descending order. Select the timeframe of the data pull, choose last hour/day/week/month/year or all time.ĥ. Set a limit to the number of posts you want to collect from each subredditĤ. Create a list of subreddit you want to monitorģ. Listing = 'best' # controversial, best, hot, new, random, rising,topĢ. Timeframe = 'week' #hour, day, week, month, year, all And for those of you who also monitor Reddit posts, either to help brands with social listening or for other data collection purposes, I thought it would be helpful to share the script we use with you. We monitor Reddit closely to collect supporting data for the dupes we recommend on the site. If you don’t know yet, my partner and I created a site called beautydupes.xyz where users can search for beauty dupes.
0 Comments
Leave a Reply. |