virgs / medium-next-gen-stats

A browser (chrome/firefox) extension that provides richer information about your medium texts
https://virgs.me/mngs
MIT License
16 stars 2 forks source link

Missing information from JSON file #3

Closed ignasiusharvey closed 4 years ago

ignasiusharvey commented 4 years ago

Hi, great job for next-gen-stats!

I had used this tool and I notice there's an update. On my previous usage, the JSON file contains information about readingTime. But it looks like it's missing now on the new JSON file. Would be great if that information is retained.

virgs commented 4 years ago

Hmm. I believe the issue is fixed in v1.0.16. Can you confirm that?

ignasiusharvey commented 4 years ago

I cloned the v1.0.16 and looks like it's not fixed yet.

virgs commented 4 years ago

This looks weird. This is a piece of the content of one of the files I get when I hit the download button:

[
  {
    "postId": "9c26d20b1777",
    "slug": "a-vida-mais-difícil",
    "previewImage": {
      "id": "0*cNMDhiWytcg3ZpJt.jpeg",
      "originalWidth": 1500,
      "originalHeight": 1500,
      "isFeatured": true
    },
    "title": "A Vida Mais Difícil",
    "creatorId": "5e1d07b76ff4",
    "collectionId": "",
    "upvotes": 6,
    "views": 26,
    "reads": 14,
    "createdAt": 1567388130804,
    "firstPublishedAt": 1595090976651,
    "visibility": 0,
    "firstPublishedAtBucket": "July 2020",
    "readingTime": 4,
    "syndicatedViews": 0,
    "claps": 57,
    "updateNotificationSubscribers": 0,
    "isSeries": false,
    "internalReferrerViews": 14,
    "friendsLinkViews": 0,
    "type": "PostStat",
    "id": "9c26d20b1777"
  },
...

Are you sure you're checking mngs-posts-summary.json file?

ignasiusharvey commented 4 years ago

I made sure the version is 1.0.16 on my browser. I clicked the download button and only medium-next-generation-stats.json is downloaded.

virgs commented 4 years ago

Ok. Thanks for the report. I'll investigate that and inform you as soon as I have updates.

virgs commented 4 years ago

@ignasiusharvey Can you check it now? v.17 was released, make sure you refresh your cache before trying.

ignasiusharvey commented 4 years ago

@virgs I believe the issue is fixed, the information is already there. Thank you!