Skip to content

AlkTheOrg/reddit-saved-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

If you need more than exporting Reddit models into csv, then check out my other project here.

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages