• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

owllook - 简洁优雅的小说API🎉

owllook小说接口

GitHub release Github All Releases license

本项目提供优雅的小说接口,其他衍生项目如下:

Overview

owllook是一个基于其他搜索引擎构建的垂直小说搜索引擎,owllook目的是让阅读更简单、优雅,让每位读者都有舒适的阅读体验,有朋友有兴趣开发owllook的app端,于是此项目便诞生了,本项目提供小说的一系列接口,如检索、目录、章节内容、检查更新

Installation

owllook_api基于gin,提供了一系列基本的小说接口,使用:

git clone https://github.com/howie6879/owllook_api
cd owllook_api

go get -u github.com/kardianos/govendor
govendor sync
go run main.go

# 编译
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ./release/owllook_api.mac
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build  -o ./release/owllook_api.linux
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ./release/owllook_api.exe

API

小说资源说明:

本项目利用了互联网上的一些小说资源作为检索目标进行资源提取,定义如下,100以后的命名定位第三方检索:

名称 编号 搜索类型
10 笔趣阁 站内
100 新笔趣阁 百度第三方
110 笔下文学 百度第三方
120 顶点小说 百度第三方

搜索小说:

格式:/v1/novels/:name/:source

请求:

# 请求资源为10下小说牧神记的检索结果
curl http://0.0.0.0:8080/v1/novels/牧神记/10

响应:

{
    "info": [
        {
            "novel_abstract": "大墟的祖训说,天黑,别出门。大墟残老村的老弱病残们从江边捡到了一个婴儿,取名秦牧,含辛茹苦将他养大。这一天夜幕降临,……",
            "novel_author": "作者:宅猪",
            "novel_cover": "https://www.bqg99.cc/bookimages/2640967.jpg",
            "novel_latest_chapter_name": "第七百九十二章 道一(月底求月票)",
            "novel_latest_chapter_url": "https://www.bqg99.cc/book/2639610/595030666.html",
            "novel_name": "牧神记",
            "novel_type": "分类:玄幻",
            "novel_url": "https://www.bqg99.cc/book/2639610/",
            "source_name": "笔趣阁01",
            "source_url": "https://www.bqg99.cc/"
        }
    ],
    "status": 1
}

搜索作者:

格式:/v1/authors/:name/:source

请求:

curl http://0.0.0.0:8080/v1/authors/猫腻/10

响应:

{
    "info": [
        {
            "novel_abstract": "千里杀一人,十步不愿行。",
            "novel_author": "作者:猫腻",
            "novel_cover": "https://www.bqg99.cc/bookimages/1849310.jpg",
            "novel_latest_chapter_name": "今天没有更新",
            "novel_latest_chapter_url": "https://www.bqg99.cc/book/1847953/594800464.html",
            "novel_name": "大道朝天",
            "novel_type": "分类:玄幻",
            "novel_url": "https://www.bqg99.cc/book/1847953/",
            "source_name": "笔趣阁01",
            "source_url": "https://www.bqg99.cc/"
        },
        {
            "novel_abstract": "命里有时终须有,命里无时要强求。  这是一个长生果的故事。……",
            "novel_author": "作者:猫腻",
            "novel_cover": "https://www.bqg99.cc/bookimages/1008998084.jpg",
            "novel_latest_chapter_name": "后记",
            "novel_latest_chapter_url": "https://www.bqg99.cc/book/1008996727/644149409.html",
            "novel_name": "择天记",
            "novel_type": "分类:玄幻",
            "novel_url": "https://www.bqg99.cc/book/1008996727/",
            "source_name": "笔趣阁01",
            "source_url": "https://www.bqg99.cc/"
        },
        {
            "novel_abstract": "与天斗,其乐无穷。  ……",
            "novel_author": "作者:猫腻",
            "novel_cover": "https://www.bqg99.cc/bookimages/1010262420.jpg",
            "novel_latest_chapter_name": "第六卷忽然之间 第一百三十章 结尾",
            "novel_latest_chapter_url": "https://www.bqg99.cc/book/1010261063/959174919.html",
            "novel_name": "将夜",
            "novel_type": "分类:玄幻",
            "novel_url": "https://www.bqg99.cc/book/1010261063/",
            "source_name": "笔趣阁01",
            "source_url": "https://www.bqg99.cc/"
        },
        {
            "novel_abstract": "世界上有两件东西能够深深地震撼人们的心灵,一件是我们心中崇高的道德准则,另一件是我们头顶上灿烂的星空——康德  当许……",
            "novel_author": "作者:猫腻",
            "novel_cover": "https://www.bqg99.cc/bookimages/1011122532.jpg",
            "novel_latest_chapter_name": "最后的单章:间客关门八件事",
            "novel_latest_chapter_url": "https://www.bqg99.cc/book/1011121175/979602210.html",
            "novel_name": "间客",
            "novel_type": "分类:玄幻",
            "novel_url": "https://www.bqg99.cc/book/1011121175/",
            "source_name": "笔趣阁01",
            "source_url": "https://www.bqg99.cc/"
        },
        {
            "novel_abstract": "积善之家,必有余庆,留余庆,留余庆,忽遇恩人;幸娘亲,幸娘亲,积得阴功。劝人生,济困扶穷……而谁可知,人生于世,……",
            "novel_author": "作者:猫腻",
            "novel_cover": "https://www.bqg99.cc/bookimages/1012231120.jpg",
            "novel_latest_chapter_name": "第七卷朝天子 末章 后来",
            "novel_latest_chapter_url": "https://www.bqg99.cc/book/1012229763/989671183.html",
            "novel_name": "庆余年",
            "novel_type": "分类:历史",
            "novel_url": "https://www.bqg99.cc/book/1012229763/",
            "source_name": "笔趣阁01",
            "source_url": "https://www.bqg99.cc/"
        }
    ],
    "status": 1
}

More Repositories

1

owllook

owllook-小说搜索引擎
Python
2,549
star
2

ruia

Async Python 3.6+ web scraping micro-framework based on asyncio
Python
1,730
star
3

mlhub123

机器学习&深度学习网站资源汇总(Machine Learning Resources)
852
star
4

liuli

一站式构建多源、干净、个性化的阅读环境(Build a multi-source, clean and personalized reading environment in one stop.)
Python
852
star
5

weekly

老胡的信息技术周刊❤️记录我本周看到的有价值的信息,针对优秀项目、软件、教程资料、网站等。
Python
593
star
6

Sanic-For-Pythoneer

📚 一份sanic使用教程,开源小书
Python
387
star
7

magic_google

Google search results crawler, get google search results that you need
Python
368
star
8

NIYT

在你的终端看小说(Read the novel in your terminal) - NIYT
Go
154
star
9

examiner

操作系统通知中心监控(不论微信、钉钉、QQ,只要开启消息通知),可编写对应处理脚本
Python
143
star
10

ITBooks

Get itbooks from ebooks's website for free,such as allitebooks,digilibraries,etc
Python
106
star
11

owllook_gui

简洁优雅的小说监控工具🎉
Python
86
star
12

hproxy

hproxy - Asynchronous IP proxy pool, aims to make getting proxy as convenient as possible.(异步爬虫代理池)
Python
66
star
13

talospider

talospider - A simple,lightweight scraping micro-framework
Python
54
star
14

pylab

和Python相关的学习笔记:机器学习、算法、进阶书籍、文档,博客地址:https://www.howie6879.cn
Jupyter Notebook
51
star
15

getNews

互联网新闻推荐系统(myNews)--2016全国计算机设计大赛企业命题参赛作品
Python
44
star
16

w2b

将微信接收的文章自动解析同步到Bear
Python
40
star
17

k8s_note

k8s学习笔记
29
star
18

php-google

Google search results crawler, get google search results that you need - php
PHP
29
star
19

anan

安安 - 育儿医疗问答机器人
Python
24
star
20

book_swop

二手书籍转赠交换计划
21
star
21

sanic_annotation

sanic 源码注释 用于学习
Python
18
star
22

coolshell_qa

CoolShell 博客备份&基于 ChatGPT 的问答机器人
Python
17
star
23

instdd

Instagram Photos Download - Save Instagram photos and videos online
Python
15
star
24

mac-soft

记录我在使用 macOS 过程中使用&看到的软件项目
15
star
25

howie6879.github.io

努力就好
HTML
9
star
26

py_project_template

Python project template for you
Python
7
star
27

weeklyhub

汇聚优质精选技术周刊,为你提供高质量信息流
5
star
28

leaf

A CLI tool for hiding the application's icon in the Dock. (MacOS Dock栏软件图标隐藏终端工具)
Python
5
star
29

monkey

Search engine for programmers
Python
5
star
30

importData

将csv xls json等数据格式导入mysql
Python
4
star
31

expire

Expire aims to make using cache as convenient as possible.
Python
4
star
32

gpt123.ai-daily

老胡的 ChatGPT 日报信息流
Python
3
star
33

ml_note

我的机器学习笔记
Python
3
star
34

liuli_backup

Liuli 阅读环境文章留存
HTML
1
star
35

Mastering-Python

Mastering Python---阅读python相关书籍笔记
Jupyter Notebook
1
star
36

nand2tetris

✍️ 计算机系统要素-从零开始构建现代计算机
Scilab
1
star
37

howie6879

1
star
38

vim_config

vim
Vim Script
1
star