1.10.16 • Published 10 months ago

@sparanoid/eop-extractor-qq-music v1.10.16

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
10 months ago

@sparanoid/eop-extractor-qq-music

Pure firstPageData JSON data extractor/scraper for QQ Music without using API.

Features

  • Simple, fast, ESM by default
  • Minimal dependencies, HTTPS requests by got

Usage

QQ Music requires qm_keyst and uin (requester QQ number) to work. See Options section for more.

import extract from '@sparanoid/eop-extractor-qq-music';

const url = `https://i.y.qq.com/n2/m/share/profile_v2/index.html?userid=oKCPNKnPoinAoz**`;
const resp = await extract(url);

console.log(resp.data.encryptedUin);
//=> oKCPNKnPoinAoz**

Options

const options = {
  mobileUserAgent: `got`,
  cookies: `qm_keyst=xxxx; uin=123456`,
  requestOptions: {
    timeout: {
      request: 3000
    },
    retry: {
      limit: 2,
      maxRetryAfter: 5,
    }
  }
}
await extract(url, options);

License

AGPL-3.0

1.10.16

10 months ago

1.10.5

12 months ago

1.10.7

11 months ago

1.10.6

11 months ago

1.10.11

11 months ago

1.9.5

12 months ago

1.8.17

1 year ago

1.8.7

1 year ago

1.8.6

1 year ago

1.8.5

1 year ago

1.8.4

2 years ago

1.8.3

2 years ago

1.8.0

2 years ago

1.7.15

2 years ago

1.7.10

2 years ago

1.7.5

2 years ago

1.7.2

2 years ago

1.6.24

2 years ago

1.6.23

2 years ago