timhutton / twitter-archive-parser

Python code to parse a Twitter archive and output in various ways

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needed: Improve DMs output: images, links, html?, split files?

timhutton opened this issue · comments

  1. In tweets we embed the images and videos. We should do the same for DMs.
  2. We currently output a single md file with all the DMs in it. For users with very many DMs this might present a problem for rendering, so we could split them out as we do for tweets.
  3. We could output html for DMs, as we do for tweets.

Any one of these issues is worth tackling on its own.

Also, group messages are not yet handled at all. The format of direct-messages-group.js seems to be similar to that of direct-messages.js, so maybe it's possible to write a single method that can handle both kinds.

  1. We currently output a single md file with all the DMs in it. For users with very many DMs this might present a problem for rendering, so we could split them out as we do for tweets.

I just implemented that in #96 (splitting the output up into one file per conversation).

By the way, I'm currently working on parsing group DMs. Not completely finished yet, but probably will be tomorrow :)

Made separate issues #105 #106 #107