Elektrine lite

← Feed

@timhutton@mathstodon.xyz

Post #1073884

2022-11-10 01:08 UTC

If you download your #Twitter archive it arrives wrapped as a static HTML page, which is not very useful for doing anything with, and worse: it requires the original account to be still active to do useful things like enlarge the images since they use t.co links. So here's a #Python script to convert a Twitter archive to #markdown or other formats: https://github.com/timhutton/twitter-archive-parser Now you can archive your tweets in any way you want.

Replies (16)

  • @timhutton@mathstodon.xyz 2022-11-12 00:00

    A helpful person (@masukomi ) pointed out that Twitter archives don't even contain full-resolution images. Grrr! The first one I looked at was 600x809 in the archive. If I download it from Twitter appending ?format=jpg&name=large then it gives me an image that is 780x1052.

    Open ##1073894

  • @timhutton@mathstodon.xyz 2022-11-23 17:11

    "Bit.ly s̶h̶o̶r̶t̶e̶n̶s̶ [ruins] 600 million links per month. .. Bit.ly makes money by charging for access to a̶g̶g̶r̶e̶g̶a̶t̶e̶ ̶d̶a̶t̶a̶ [your activity on the internet collected by tracking cookies] created as a result of many people using the shortened URLs." Do you think wikipedia would accept my edits? Context: We are trying to restore shortened URLs in the Twitter archive but they're a pain. Meanwhile Bit.ly is worth $64 million.

    Open ##1073895

  • @timhutton@mathstodon.xyz 2022-11-25 01:01

    "Elon Musk has announced a general amnesty for suspended #Twitter accounts... Accounts suspended on Twitter include Donald Trump’s former adviser Steve Bannon, rightwing UK commentator Katie Hopkins and David Duke, the former Ku Klux Klan grand wizard." I had been hanging on to my account for debugging our script but this is insane. If you continue posting I'm going to assume you are happy with sharing a platform with these people. [Edit: active act. -> posting] https://www.theguardian.com/technology/2022/nov/24/elon-musk-offers-general-amnesty-to-suspended-twitter-accounts

    Open ##1073896

  • @Edent@mastodon.social 2022-11-10 06:27

    @timhutton Thanks - that'll be handy. Am I reading it wrong though? Looking through my archive, I see the full image URl in the entities?

    Open ##1583743

  • @Pepijn@mastodon.online 2022-11-10 07:00

    @timhutton Thanks. Do you known if someone is hosting this (or something like it) in an accessible way?

    Open ##1583747

  • @hogesonline@aus.social 2022-11-10 07:22

    @timhutton You are excellent!

    Open ##1583750

  • @HelloAndrew@mastodon.social 2022-11-10 07:40

    @timhutton thank you so much for doing this unfortunately I thought I was very technically advanced 30 year Internet user who knows how to code basic html but since I’ve come to mastodon I realized I’m a complete ignorant noob who doesn’t understand computers. Can you explain the following to me which I don’t understand it’s like it’s a whole new language I’ve never learned before?: “Open a command-prompt in that folder python parser.py”

    Open ##1583751

  • @stevenlawson@photog.social 2022-11-10 08:11

    @timhutton This sounds like it will be really useful but alas way beyond the ken of techno numpties like me 😂

    Open ##1583774

  • @peter@area51.social 2022-11-10 08:21

    @timhutton @f4grx Thanks for that, it'll be useful. Just raised https://github.com/timhutton/twitter-archive-parser/issues/4 as tweets.js gets split into multiple 101Mb parts if your archive is large

    Open ##1583784

  • @tommi@social.scambi.org 2022-11-10 08:26

    THANK YOU SO MUCH FOR SHARING THIS, @timhutton! I had my Twitter export folder lying in my hard disk for so long that I almost ended up deleting 5 years of my activity on the platform just because it was so itchy to find the stuff I wanted. I now have a solution, thanks again ❤️

    Open ##1583785

  • @taseroth@chaos.social 2022-11-10 08:38

    @timhutton @magomi @mosmann

    Open ##1583786

  • @Daviey@social.daviey.com 2022-11-10 08:45

    @timhutton Using pleroma-bot you can suck that twitter archive.zip directly into mastodon, and have them present as toots.

    Open ##1583788

  • @MarkusEicher@fosstodon.org 2022-11-10 09:13

    @timhutton Hello Tim. Thank you very much for posting this tip. Appreciate it!

    Open ##1583799

  • @librarianbe@mastodon.social 2022-11-10 09:15

    @timhutton “Open a command-prompt” > I'm not good at that, unfortunately. Isn't there just a piece of installable software for that? Preferably for macOS.

    Open ##1583800

  • @chicagonz@fosstodon.org 2022-11-10 09:18

    @timhutton Thanks for the code, curious if that includes any bookmarked items so will have to check it out.

    Open ##1583801

  • @jjcelery@mastodon.ie 2022-11-10 09:32

    @timhutton ah brilliant, I was gonna write one myself, you saved me lots of time 👏

    Open ##1583804