Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.31 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.31 KB

Reddit Unhide Posts

Usefull personal script to unhide reddit posts.

Dependencies

From the official documentation and github page, PRAW is supported on python 3.5+. The recommended way to install PRAW is via pip:

pip install praw

Usage

  • Go to your app preferences. Click the "Create app" or "Create another app" button. Fill out the form like so:
    • name: Unhide Posts App
    • App type: Choose the script option
    • description: You can leave this blank
    • about url: You can leave this blank
    • redirect url: http://www.example.com/unused/redirect/uri (We won't be using this as a redirect)

Note: These examples will only work for script type apps, which will ONLY have access to accounts registered as "developers" of the app and require the application to know the user's password.

  • Click on "Create"

  • Create a praw.ini file with the following structure:

[bot]
client_id=
client_secret=
password=
username=
user_agent='bot user agent'
  • Add the corresponding values from the app creation and from your account in front of it (no need to add single/double quotes)

  • Run with py unhide-script.py

  • Choose the number of days from which you want to unhide the posts.

  • Enjoy!