micahflee / semiphemeral

Automatically delete your old tweets, except for the ones you want to keep
MIT License
884 stars 85 forks source link

Delete DMs not working #83

Closed ghost closed 2 years ago

ghost commented 3 years ago

I downloaded my data from twitter and did the following:

image

As you can see in the image, I ran the command and get an error that should NOT happen.

ghost commented 3 years ago

anything? anyone?

ghost commented 3 years ago

found the issue see below.

ERROR 1 https://imgur.com/a/bX9pJ1d

ERROR 2 ➜ cp direct-messages.js direct-message.js ➜ semiphemeral delete_dms --filename direct-message.js
semiphemeral 0.6 File expected to start with: window.YTD.direct_message.part0 = ➜ cat direct-message.js | more window.YTD.direct_messages.part0 = [ { "dmConversation" : {

ghost commented 3 years ago

don't know how to fix and test but that's the error. Hopefully you see this and get to fix it because it's a pain in the ass to rename things instead of working on first run

kees commented 2 years ago

This should be fixed with PR #69 which fixes a typo in the expected file name.