Medium Earnings Scraper avatar

Medium Earnings Scraper

Deprecated
Go to Store
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
Medium Earnings Scraper

Medium Earnings Scraper

flexible_cypress/medium-stats-scraper

Scrapes latest earnings and presents in better format than the one on Medium stats What I need from your end are cookies that can be found in the network tab. Go to network tab in developer tools; find stats request and under request headers you'll find Cookie header.

Use cases

Fetches earnings and presents in good format for preview. Also you can use my own UI to present the earnings: https://zivce.github.io/medium-earnings/

Medium earnings

Just provide the default dataset link to the medium-earnings site and go for Fetch dataset.

Default dataset

Input

You can enable or disable earnings fetching. Also you can enable or disable posts fetching. Otherwise the posts won't get refetched, and earnings won't get refetched.

Another thing needed is cookie from request headers in Medium requests. Here's how to find that information: Cookies

Output

Default dataset is in the form:

1[{
2  "title": "Experienced Developers Fix Their User Stories with These 3 Tips",
3  "postId": "e21fd0611c7e",
4  "link": "https://medium.com/me/stats/post/e21fd0611c7e",
5  "zippedStats": [
6    {
7      "periodStartedAt": 1674864000000,
8      "views": 20,
9      "internalReferrerViews": 13,
10      "memberTtr": 800,
11      "amount": 0.34
12    },
13    {
14      "periodStartedAt": 1674950400000,
15      "views": 12,
16      "internalReferrerViews": 12,
17      "memberTtr": 1156,
18      "amount": 0.5
19    },
20    {
21      "periodStartedAt": 1675036800000,
22      "views": 5,
23      "internalReferrerViews": 4,
24      "memberTtr": 0,
25      "amount": 0
26    },
27    {
28      "periodStartedAt": 1675123200000,
29      "views": 2,
30      "internalReferrerViews": 1,
31      "memberTtr": 215,
32      "amount": 0.09
33    }]

Also you get earnings and posts dataset as well.

Developer
Maintained by Community
Categories