Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 簡介

[Medium 中文寫作者追蹤人數排名與不專業數據分析](https://medium.com/@hulitw/medium-analysis-40752b9efa03)

誤打誤撞找到了一個 API,用 GET 就能夠取得資料,十分方便:https://medium.com/_/api/users/f1fb3e40dc37/profile/stream

如果想看 userId 是什麼,在 medium profile 頁面後面加 `?format=json` 就可以了,例如說:https://medium.com/@hulitw?format=json
Expand Down Expand Up @@ -88,4 +90,12 @@ CREATE TABLE `Queues` (

接著 `npm run start` 就可以開始跑了。`npm run getUsers` 則可以跑只處理使用者資料的程式。

## 現成數據

你也可以直接用我爬好的數據,我有幫追蹤人數 1000 人以上使用者的標明地區,其中 `EMPTY` 代表沒有文章,`EN` 代表用英文寫作。

網址:https://raw.githubusercontent.com/aszx87410/medium-user-crawler/master/users.csv

7.4 MB,大約 74k 筆使用者資料。


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "ISC",
"dependencies": {
"axios": "^0.19.0",
"lodash": "^4.17.11",
"lodash": "^4.17.19",
"moment": "^2.24.0",
"mysql": "^2.17.1"
}
Expand Down
Loading