Exports saved posts and comments on Reddit to a csv file.

Overview

reddit-saved-to-csv

Exports saved posts and comments on Reddit to a csv file.

Columns: ID, Name, Subreddit, Type, URL, NoSFW

  • ID: Starts from 1 and increments for each saved Post or Comment.
  • Name: Title of the post.
  • Subreddit: Display name of the subreddit.
  • Type: Either #Comment or #Post.
  • URL: Link of the comment or the post.
  • NoSFW: True or False based on the post.

How to Use

  • Download or clone the code to your pc.
  • Install Python3 and then install praw.
  • Go to https://www.reddit.com/prefs/apps and create a script.
    • Give any name and description.
    • Redirect uri: http://localhost:8080
    • Create
    • Text below "personal use script" is your client id. We'll need that and the secret.
  • Open reddit_saved_to_csv.py file with any text editor.
  • You'll see below lines at the top:
client_id='' # Enter your client ID
client_secret='' # Enter you client secret
username='' # Enter Username
password='' # Enter password
  • Enter the necessary information into the quotation marks.
  • Save the .py file.
  • Now you can run the script through command line/ VSCode/ Spyder etc.
  • Wait until you get the "COMPLETED!" message.
You might also like...
SimpleTelegramScraper - A python script scrapes accounts from public groups via Telegram API and saves them in a CSV file

SimpleTelegramScraper - the best scraper on GitHub This simple python script scr

A pre-attack hacker tool which aims to find out sensitives comments in HTML comment tag and to help on reconnaissance process
A pre-attack hacker tool which aims to find out sensitives comments in HTML comment tag and to help on reconnaissance process

Find Out in Comment Find sensetive comment out in HTML ⚈ About This is a pre-attack hacker tool that searches for sensitives words in HTML comments ta

Telegram Bot to store Posts and Documents and it can Access by Special Links.

File-sharing-Bot Telegram Bot to store Posts and Documents and it can Access by Special Links. I Guess This Will Be Usefull For Many People..... πŸ˜‡ .

Telegram Bot to store Posts and Documents and it can Access by Special Links.
Telegram Bot to store Posts and Documents and it can Access by Special Links.

Telegram Bot to store Posts and Documents and it can Access by Special Links. I Guess This Will Be Usefull For Many People..... πŸ˜‡ . Features Fully cu

An script where it logs in your instagram account and follows people and likes their posts

InstaFollower An script where it logs in your instagram account and follows people and likes their posts (uses the tags to fetch people) Requirements:

A Sublime Text plugin that displays inline images for single-line comments formatted like `// ![](example.png)`.
A Sublime Text plugin that displays inline images for single-line comments formatted like `// ![](example.png)`.

Inline Images Sometimes ASCII art is not enough. Sometimes an image says more than a thousand words. This Sublime Text plugin can display images inlin

This project uses Youtube data API's to do youtube tags analysis based on viewCount, comments etc.

Youtube video details analyser Steps to run this project Please set the AuthKey which you can fetch from google developer console and paste it in the

A script that writes automatic instagram comments under a post

Send automatic messages under a post on instagram Instagram will rate limit you after some time. From there on you can only post 1 comment every 40 se

A Python Instagram Scraper for Downloading Profile's Posts, stories, ProfilePic and See the Details of Particular Instagram Profile.
A Python Instagram Scraper for Downloading Profile's Posts, stories, ProfilePic and See the Details of Particular Instagram Profile.

βœ” βœ” InstAstra ⚑ ⚑ ⁜ Description ~ A Python Instagram Scraper for Downloading Profile's Posts, stories, ProfilePic and See the Details of Particular In

Comments
  • Not all my saved posts were saved.

    Not all my saved posts were saved.

    Hi! So I got this program up and running and I was really excited, but I've noticed that I don't think it saved all of my saved posts.

    I found this really cute post that I saved in raindrop.io and according to Reddit, I saved this post. image

    However, I literally cannot find it in my csv file? I searched for it using Notepad++'s search by searching its ID, keywords like "fireworks" and "psa" and "animal crossing," and I still couldn't find this particular post. I then imported it to Notion and searched for AnimalCrossing, and it didn't appear there either.

    Is it possible that it's not a part of the 1000 saved posts that Reddit shows you? I mean, according to the program and updoot.app I have 949 saved posts, so I don't know. I mean, I did have a sneaking suspicion that it wasn't saving all my saved posts to CSV because there were some subreddits that had a surprisingly low number of saved posts, when I'm almost certain I've saved many more.

    Thank you in advance!

    opened by NylaTheWolf 12
  • Added argument parser so passwords and secret aren't stored in file

    Added argument parser so passwords and secret aren't stored in file

    • Added argument parser so that script can be invoked from CLI without modification to the file, and so secretes aren't stored in the file
    • Added argument to limit number of posts
    • Added argument to specify which file to save
    • Added option to enter 2-factor-authentication one-time-passcodes
    • Fixed to consistent formatting
    • Added .gitignore
    opened by FSXAC 1
Owner
null
Posts locally saved videos to the desired subreddit

redditvideoposter posts locally saved videos to the desired subreddit ================================================================= STEPS: pip ins

Kyrus 2 Dec 1, 2021
Simple Reddit bot that replies to comments containing a certain word.

reddit-replier-bot Small comment reply bot based on PRAW. This script will scan the comments of a subreddit as they come in and look for a trigger wor

Kefendy 0 Jun 4, 2022
This is a cryptocurrency trading bot that analyses Reddit sentiment and places trades on Binance based on reddit post and comment sentiment. If you like this project please consider donating via brave. Thanks.

This is a cryptocurrency trading bot that analyses Reddit sentiment and places trades on Binance based on reddit post and comment sentiment. The bot f

Andrei 157 Dec 15, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
A reddit bot that imitates the popular reddit bot "u/repostsleuthbot" to trick people into clicking on a rickroll

Reddit-Rickroll-Bot A reddit bot that imitates the popular reddit bot "u/repostsleuthbot" to trick people into clicking on a rickroll Made with The Py

null 0 Jul 16, 2022
DB-Drive-CSV - This is app is can be used to access CSV file as JSON from Google Drive.

DB Drive CSV This is app is can be used to access CSV file as JSON from Google Drive. How To Use Create file/ upload file to Google Drive There's 2 fi

Hartawan Bahari M. 5 Oct 20, 2022
File-sharing-Bot: Telegram Bot to store Posts and Documents and it can Access by Special Links.

File-sharing-Bot Telegram Bot to store Posts and Documents and it can Access by Special Links. I Guess This Will Be Usefull For Many People..... ?? .

null 1 Dec 17, 2021
Python3 library that can retrieve Chrome-based browser's saved login info.

Passax EDUCATIONAL PURPOSES ONLY Python3 library that can retrieve Chrome-based browser's saved login info. Requirements secretstorage~=3.3.1 pywin32=

Auax 1 Jan 25, 2022
A Python script that exports users from one Telegram group to another using one or more concurrent user bots.

ExportTelegramUsers A Python script that exports users from one Telegram group to another using one or more concurrent user bots. Make sure to set all

Fasil Minale 17 Jun 26, 2022