Skip to content

thriic/search-everything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

search-everything

针对各论坛,百科,搜索引擎的搜索结果获取或内容摘要

Installing

npm i search-everything

Usage

const { search, page } = require('search-everything')

search.moegirl('萝莉').then(res => {
    console.log(res)
})

search.baike('丁真').then(res => {
    console.log(res)
})

search.zhihu('chatgpt').then(res => {
    if(res.length > 0) {
        //page用于解析页面摘要
        return page.zhihu(res[0].link)
    }
}).then(res => { 
    console.log(res)
})

支持的接口

  • bing
  • baike
  • moegirl
  • bilibili
  • zhihu
  • weibo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published