All Projects → YandZD → Fantuan

YandZD / Fantuan

饭团小说 源代码

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Fantuan

Ctf All In One
CTF竞赛权威指南
Stars: ✭ 2,807 (+1059.92%)
Mutual labels:  book
Rubyfu
Rubyfu, where Ruby goes evil!
Stars: ✭ 228 (-5.79%)
Mutual labels:  book
Mastering Spark Sql Book
The Internals of Spark SQL
Stars: ✭ 234 (-3.31%)
Mutual labels:  book
The Road To Learn React
📓The Road to learn React: Your journey to master plain yet pragmatic React.js
Stars: ✭ 2,605 (+976.45%)
Mutual labels:  book
Advanced Go Programming Book
📚 《Go语言高级编程》开源图书,涵盖CGO、Go汇编语言、RPC实现、Protobuf插件实现、Web框架实现、分布式系统等高阶主题(完稿)
Stars: ✭ 16,436 (+6691.74%)
Mutual labels:  book
Jshistory Cn
🇨🇳 《JavaScript 二十年》中文版
Stars: ✭ 3,686 (+1423.14%)
Mutual labels:  book
Knitr Book
Dynamic Documents with R and knitr
Stars: ✭ 215 (-11.16%)
Mutual labels:  book
Api on rails
Learn best practices to build an API using Ruby on Rails 5/6
Stars: ✭ 236 (-2.48%)
Mutual labels:  book
Program Blog
Practice, thinking and reading
Stars: ✭ 228 (-5.79%)
Mutual labels:  book
Java Testing With Spock
Code samples from the book "Java testing with Spock"
Stars: ✭ 232 (-4.13%)
Mutual labels:  book
Ruby Science
The reference for writing fantastic Rails applications
Stars: ✭ 223 (-7.85%)
Mutual labels:  book
Functional Light Js
Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
Stars: ✭ 14,764 (+6000.83%)
Mutual labels:  book
The Elmish Book
A practical guide to building modern and reliable web applications in F# from first principles
Stars: ✭ 231 (-4.55%)
Mutual labels:  book
Go Questions
📖 从问题切入,串连 Go 语言相关的所有知识,融会贯通。 https://golang.design/go-questions
Stars: ✭ 3,415 (+1311.16%)
Mutual labels:  book
Abcd Animal Book
👶 Superbook: ABC's for babies!
Stars: ✭ 236 (-2.48%)
Mutual labels:  book
Bookdown
Authoring Books and Technical Documents with R Markdown
Stars: ✭ 2,768 (+1043.8%)
Mutual labels:  book
Restore Js
《反爬虫JS破解与混淆还原手册》 by @No-Attack @LoseNine。 一本教你JS破解以及混淆与还原的教程。欢迎star,持续更新。
Stars: ✭ 228 (-5.79%)
Mutual labels:  book
Create Your Own Lang With Rust
Create your own programming language with Rust (WIP)
Stars: ✭ 236 (-2.48%)
Mutual labels:  book
Kotlin For Android Developers
Companion App for the book
Stars: ✭ 2,624 (+984.3%)
Mutual labels:  book
Jbook
Notes about programming, advices, algorithms and a lot of good stuff with Java
Stars: ✭ 233 (-3.72%)
Mutual labels:  book

饭团小说

开源小说阅读app,切勿用于不当用途。造成一切后果与本人无关。

求个缺Android开发的团队收留 --> [email protected]

下载应用

百度小说源 还未加入app,有空再加。

食用配料

Java + Kotlin + okgo(okhttp) + RxJava + GreenDB + GreenDaoUpgradeHelper

小说源

两种方式获取小说内容,一种追书神器api,一种爬取盗版小说站。

追书神器api

在项目的api文件里有详尽的接口说明。来源于网络。

爬虫

重点说说爬虫的实现。考虑到旧版追书的api(新版的都用https)随时都可能会关闭。刚开始只是实现爬虫的, 本着学习的心态(人话:主要还是考虑到请求速度还有质量)。

对爬虫的要求:

  • 不升级app,能修改爬虫。
  • 不升级app,能增加盗版站的爬虫。

使用方案是,把单个盗版小说站爬虫打包成一个jar包,然后通过动态加载jar包反射调用里面的方法,获取小说内容。通过与服务器的通信进行jar包增删改操作。

制作爬虫步骤:

  • 0.参考module包里面的 BooFactory_xxxxx类。

  • 1.继承 com.anonymouser.book.module.IBookLoadFactory

  • 2.实现 getZhangjie 方法,实现爬取章节标题和章节的链接。

  • 3.实现 getBook 主体内容的爬虫。

  • 4.实现 getVersion 该爬虫的版本号,考虑到网站会改变。

  • 5.打包类为jar包,如何打包成jar包(略),打包后参考assets/jar,也可以放在服务器,实现更新爬虫,添加爬虫。

字体修改

  • 0.字体文件放在assets/fonts。
  • 1.解除注释 com.anonymouser.book.bean.PaintInfo$58 。
  • 2.修改 com.anonymouser.book.bean.PaintInfo$61 修改成字体文件路径。
  • 3.解除注释 com.anonymouser.book.widget.BookPageFactory$61 。
  • 4.需要实现多字体选择请自行修改代码。

提示

  • 内有Google analytics 和 Google adword。请自行修改。

成型

image
image
image
image
image

#License

饭团小说	
Copyright 2017 Yang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].