douban-search-crack
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

豆瓣搜索信息 Crack

Based on:

安装

npm i douban-search-crack or yarn add douban-search-crack

使用方法

import axios from 'axios';
import decryptDoubanData, { extractDataFromPage } from 'douban-search-crack';

const { data: doubanSearchPage } = await axios.get('https://search.douban.com/movie/subject_search', {
  params: {
    search_text: '肖申克的救赎',
    cat: 1002
  },
  responseType: 'text'
})

const encryptDoubanData = extractDataFromPage(doubanSearchPage)
console.log(decryptDoubanData(encryptDoubanData))

Readme

Keywords

none

Package Sidebar

Install

npm i douban-search-crack

Weekly Downloads

7

Version

1.0.6

License

MIT

Unpacked Size

66.8 kB

Total Files

12

Last publish

Collaborators

  • rhilip