• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Exporting Hangouts History

    September 2nd, 2022
    tech
    Yesterday I received a worrying email:

    From: The Google Apps Team
    Subject: Important information about the upgrade from Google Hangouts to Google Chat

    Earlier this year, we announced that all Hangouts users would be upgraded to Google Chat. As the last step of the upgrade, starting November 1, 2022, Hangouts on the web will be upgraded to Chat on the web. We are emailing you because some of your conversations or portions of conversations won't automatically migrate from Hangouts to Chat.

    If you wish to keep your Hangouts conversations, we strongly encourage you to use Google Takeout and download your data before January 1, 2023 when Hangouts data will be deleted.

    ...

    (Emphasis mine)

    I followed the instructions and exported the data:

    $ wc -l Takeout/Hangouts/Hangouts.json
    1041592 Takeout/Hangouts/Hangouts.json
    

    A million lines of data? What does this look like?

    $ head -n 25 Takeout/Hangouts/Hangouts.json
    {
      "conversations": [
        {
          "conversation": {
            "conversation_id": {
              "id": "Ugx..."
            },
            "conversation": {
              "id": {
                "id": "Ugx..."
              },
              "type": "STICKY_ONE_TO_ONE",
              "self_conversation_state": {
                "self_read_state": {
                  "participant_id": {
                    "gaia_id": "103...",
                    "chat_id": "103..."
                  },
                  "latest_read_timestamp": "136..."
                },
                "status": "ACTIVE",
                "notification_level": "QUIET",
                "view": [
                  "INBOX_VIEW"
                ],
    

    Oh dear. Very far from human-readable.

    I've now written a script to convert it to something readable (code):

    $ python3 process-hangouts-json.py Takeout/Hangouts/Hangouts.json
    ...
    Jonah Sidman (2013-05-31 11:48 AM):
        I feel like I had a public transit question for
        you but now I don't remember what it was
    
    Jeff Kaufman (2013-05-31 11:48 AM):
        well, let me know
    ...
    

    Spot checking, I don't see anything in my script that's missing in the online Chat interface, but it's hard to be sure.

    I hope this script can be useful to others trying to read what Hangouts exports!

    Comment via: facebook, lesswrong

    Recent posts on blogs I like:

    How did we decide to have a kid?

    ...and then some more kids? The post How did we decide to have a kid? appeared first on Otherwise.

    via Otherwise January 28, 2023

    My Rainbow Kit

    For Christmas I got a really fun kit about rainbows. It had a rainbow catcher, a really cool necklace, a streamer thingy, and it also had a really really cool pinwheel, and it also had a bracelet and a pinata. Unfortunately the pinata didn't work out …

    via Anna Wise's Blog Posts January 5, 2023

    Phones

    I think that once a kid is in third grade they should be able to get a phone. I think that while sometimes parents might want kids not to have them at certain ages, phones can be quite useful at times. Tablets don't have GPS, they don't have WiFi…

    via Lily Wise's Blog Posts January 5, 2023

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact