GithubHelp home page GithubHelp logo

toutiao's Introduction

精仿今日头条

精仿今日头条,数据是抓取今日头条App的数据。使用RxJava + Retrofit + MVP开发的开源项目,仅供学习用途。觉得对你有帮助的话请帮忙star一下,让更多人知道,多谢啦!

感谢大神 wey ye,项目中参考到他做过的仿今日头条项目,他的项目地址是:https://github.com/yewei02538/TodayNews

Apk下载地址

[点击下载体验]

Blog

http://blog.csdn.net/chay_chan/article/details/75319452

演示截图

首页

视频

微头条

我的

gif图

新闻列表、视频列表

非视频新闻详情页面

视频播放、视频详情页面

使用到的第三方库

现有功能

1.获取各种频道的新闻列表,包括视频和非视频新闻;

2.查看新闻详情,包括视频和非视频新闻的详情;

3.查看新闻评论列表;

4.新闻数据本地存储,已经获取到的新闻数据保存在本地数据库中,上拉加载更多时可查看历史新闻;

5.底部页签点击下拉刷新;

6.视频列表播放中的视频不可见时停止播放。

技术要点

1.新闻数据的抓取和分析,使用fidder抓取,具体使用可参考下面的网址:

http://www.tuicool.com/articles/BJjQZf

2.新闻列表多种Item布局的展示,使用的是BaseRecyclerViewAdapterHelper,ReclerView万能适配器,多布局使用可参考下面的网址:

CymChad/BaseRecyclerViewAdapterHelper#968

3.视频源地址的解析,原先参照大神 wey ye的解析已经失效,目前是通过今日头条视频解析这个网址解析的,传入新闻详情页地址,获取到对应视频下载地址的json数据。

声明

这个属于个人开发作品,仅做学习交流使用,如用到实际项目还需多考虑其他因素如并发等,请多多斟酌。诸位勿传播于非技术人员,拒绝用于商业用途,数据均属于非正常渠道获取,原作公司拥有所有权利。

toutiao's People

Contributors

chaychan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.