Download your data on Reddit and delete account

Reddit followed Twitter’s path by blocking third-party applications and transformed its sharing space into an absolute network of control.

On June 30, 2023 (in two days from publishing this) the changes will be effective.

Third-party applications will disappear and I estimate about 30% of the content of the social network of the institutional surveillance service.

Reddit has a button that would eventually give you your data, but it doesn’t work. I used it almost a month ago and so far I haven’t had any responses:

I’m copying the simplest and fastest alternative I found to download comments and personal information from Reddit.

It’s for Debian (Linux) but you can use it on Windows or Mac because Python is cross-platform.

First of all, check your preferences

Because if you didn’t check it before, you collaborated with several servers, services and institutions, giving them permission to make a lot of money with your time:

image

I do NOT want to appear in search engines, personalize my experience be sold junk, or recommendations have my screen polluted with ads.

Continue after deactivating that nonsense from your profile :slight_smile:

Download data from Reddit

  1. Install Python if you don’t have it on your system, and then the Python packages pipx and reddit-user-to-sqlite.
apt install python3
apt install pip
pip install pipx
pipx install reddit-user-to-sqlite
  1. Create the metadata.json file with this code, in the folder where you are going to download your data:
{
  "databases": {
    "reddit": {
      "tables": {
        "comments": {
          "sort_desc": "timestamp",
          "plugins": {
            "datasette-render-markdown": {
              "columns": ["text"]
            },
            "datasette-render-timestamps": {
              "columns": ["timestamp"]
            }
          }
        },
        "posts": {
          "sort_desc": "timestamp",
          "plugins": {
            "datasette-render-markdown": {
              "columns": ["text"]
            },
            "datasette-render-timestamps": {
              "columns": ["timestamp"]
            }
          }
        },
        "subreddits": {
          "sort": "name"
        }
      }
    }
  }
}
  1. Run reddit-user-to-sqlite and view the downloaded information in sqlite format (.db file) preferably in datasette or SQLiteBrowser.

  2. Browse the dump and do whatever you want with the info, you can export it to JSON and eventually link it to other projects :slight_smile:

Commands without output

PC@PC:~$ mkdir reddit
PC@PC:~$ cd reddit
PC@PC:~/reddit$ pip install pipx
PC@PC:~/reddit$ pipx install reddit-user-to-sqlite
PC@PC:~/reddit$ reddit-user-to-sqlite user satoshinotdead
PC@PC:~/reddit$ pipx install datasette
PC@PC:~/reddit$ nano metadata.json
PC@PC:~/reddit$ datasette reddit.db --metadata metadata.json

Commands with output

PC@PC:~$ mkdir reddit
PC@PC:~$ cd reddit
PC@PC:~/reddit$ pipx install reddit-user-to-sqlite
bash: pipx: command not found
PC@PC:~/reddit$ pip install pipx
Defaulting to user installation because normal site-packages is not writeable
Collecting pipx
  Downloading pipx-1.2.0-py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.8/57.8 kB 744.3 kB/s eta 0:00:00
Collecting userpath>=1.6.0
  Downloading userpath-1.8.0-py3-none-any.whl (9.0 kB)
Requirement already satisfied: packaging>=20.0 in /usr/lib/python3/dist-packages (from pipx) (20.9)
Collecting argcomplete>=1.9.4
  Downloading argcomplete-3.1.1-py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 2.9 MB/s eta 0:00:00
Collecting click
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 1.9 MB/s eta 0:00:00
Installing collected packages: click, argcomplete, userpath, pipx
Successfully installed argcomplete-3.1.1 click-8.1.3 pipx-1.2.0 userpath-1.8.0

[notice] A new release of pip is available: 23.0.1 -> 23.1.2
[notice] To update, run: python3 -m pip install --upgrade pip
PC@PC:~/reddit$ pipx install reddit-user-to-sqlite
  installed package reddit-user-to-sqlite 0.4.1, installed using Python 3.9.2
  These apps are now globally available
    - reddit-user-to-sqlite
done! ✨ 🌟 ✨
PC@PC:~/reddit$ reddit-user-to-sqlite user satoshinotdead
loading data about /u/satoshinotdead into reddit.db

fetching (up to 10 pages of) comments
 30%|█████████████████████████████████████████████▉                                                                                                           | 3/10 [00:04<00:09,  1.42s/it]
saved/updated 331 comments

fetching (up to 10 pages of) posts
  0%|                                                                                                                                                                 | 0/10 [00:00<?, ?it/s]
saved/updated 12 posts
PC@PC:~/reddit$ ls -l
total 296
-rw-r--r-- 1 PC PC 299008 jun 28 11:29 reddit.db
PC@PC:~/reddit$ pipx install datasette
  installed package datasette 0.64.3, installed using Python 3.9.2
  These apps are now globally available
    - datasette
done! ✨ 🌟 ✨
PC@PC:~/reddit$ nano metadata.json
PC@PC:~/reddit$ datasette reddit.db --metadata metadata.json
INFO:     Started server process [46765]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8001 (Press CTRL+C to quit)
INFO:     127.0.0.1:54230 - "GET / HTTP/1.1" 200 OK
INFO:     127.0.0.1:54230 - "GET /-/static/app.css?d59929 HTTP/1.1" 200 OK
INFO:     127.0.0.1:54230 - "GET /favicon.ico HTTP/1.1" 200 OK
INFO:     127.0.0.1:54230 - "GET /reddit/comments HTTP/1.1" 200 OK
INFO:     127.0.0.1:54230 - "GET /-/static/app.css?d59929 HTTP/1.1" 200 OK
INFO:     127.0.0.1:54238 - "GET /-/static/table.js HTTP/1.1" 200 OK

Result from datasette

Which can be read by running the app and clicking on the web address returned by the terminal http://127.0.0.1:8001:

Result from SQLiteBrowser

Opening the reddit.db file generated by reddit-user-to-sqlite:

Source and more info

Freedom exists

1 Like

Editar mensajes antes de borrarlos

Para sumar un filtro que haría más difícil que los recuperen (no respetarán TUS derechos).

Por qué hacerlo?

Reddit cotiza 10 billones de dólares y no le pagó un solo centavo a quienes crearon todo el valor en su plataforma.

Cuatro pasos en 30 segundos

  1. Ingresa a PowerDeleteSuite y agrega a tus marcadores el botón rojo (click derecho - agregar):

  1. Clickea en el botón desde tus marcadores, acepta el mensaje inicial y selecciona las opciones que desees:

  1. Dale a Process y luego podrás eliminar tu cuenta para ocupar ese tiempo en Criptonautas, blogs desde RSS, libros y mucho cine :orange_heart:

La app para quitar tu data

https://codepen.io/j0be/full/WMBWOW/

1 Like

Fuck you Fuera control :alien:


TL;DR para despistados

We are witnessing the end of the open and collaborative internet. In the endless march towards quarterly gains, the internet inches ever closer to becoming a series of walled gardens with prescribed experiences built on the free labor of developers, and moderators from the community. The value within these walls is composed entirely of the content generated by its users. Without it, these spaces would simply be a hollow machine designed to entrap you and monetize your time.

Reddit is simply the frame for which our community is built on. If we are to continue building and maintaining our communities we should focus our energy into projects that put community above the monopolization of your attention for profit.

You’ll find me on Lemmy: https://join-lemmy.org/instances Find a space outside of the main Lemmy instance, or start your own.

See you space cowboys.