1.0.5 • Published 5 years ago

img2weibo v1.0.5

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
5 years ago

img2weibo

Get Weibo user id from image url.

Demo

demo

Use in node

  1. Install: run npm install img2weibo
  2. Get user id and url:
const userId = img2weibo('https://wx3.sinaimg.cn/large/632dab64ly1g0m3f02heoj20dc08wq6j.jpg'); // 1663937380

const userHome = `https://weibo.com/u/${userId}` // https://weibo.com/u/1663937380

Use as cli

$ npx img2weibo https://wx3.sinaimg.cn/large/632dab64ly1g0m3f02heoj20dc08wq6j.jpg

    Image url: https://wx3.sinaimg.cn/large/632dab64ly1g0m3f02heoj20dc08wq6j.jpg
    User id  : 1663937380
    User home: https://weibo.com/u/1663937380
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago