Git Product home page Git Product logo

news's Introduction

每日早报

news

项目起因

官网

完整版 [支持查看原文的版本] [dev]

Vercel 一键部署(推荐)

简洁版(我更喜欢这个):

Deploy with Vercel

完整版(有查看原文功能,但部分不大完善):

且与本项目定位不怎么相符, 但是似乎有相应的需求,见 #03

Deploy with Vercel

Replit 部署(不推荐)

服务器部署(不推荐)

  1. 安装 Python 3
  2. 安装 依赖库
  3. api/index.py 中的 from api.crawler 改为 from crawler
  4. 运行 python api/index.py
  5. index.js中的 api 域名改为部署得到的域名即可

API 说明

GET:/api

请求参数
参数名 位置 类型 必填 示例值 说明
_vercel_no_cache query 1 说明:vercel 强制不缓存
cache query 任意值 说明:清除缓存用
index query number 0 说明:0-99 用来控制天数,0 为今天,1 为昨天,依次类推
origin query string zhihu 说明:"zhihu" 或 "163" 切换源

详细信息见:每日早报 (apifox.cn)

news's People

Watchers

suyongzhi 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.