Giter Club home page Giter Club logo

lanzou_url's Introduction

LanZou_API

蓝奏云获取直链/蓝奏云直链解析

支持文件夹解析,翻页

部署方法

直接部署到php服务器上

克隆项目,丢到服务器上即可

部署到Vercel

Q: 频繁出现5xx报错?

A:ReDeploy即可 不要勾选缓存

使用方法

  • 使用部署时的url地址
  • url:蓝奏云外链链接
  • fileId:蓝奏云文件ID
  • pass:外链密码
  • page:页数(如果一个文件夹内文件超过50需要翻页)

请求示例

无密码: https://api.huankong.top/lanzou/?url=https://huankong233.lanzouj.com/ikMixwq817e

有密码: https://api.huankong.top/lanzou/?url=https://huankong233.lanzouj.com/io7zInot1vi&pass=994i

文件夹: https://api.huankong.top/lanzou/?url=https://huankong233.lanzoue.com/b0eay044h&pass=35su

文件夹(第二页): https://api.huankong.top/lanzou/?url=https://huankong233.lanzoue.com/b0eay044h&pass=35su&page=2

文件夹中文件的ID: https://api.huankong.top/lanzou/?fileId=145145

返回数据

{
  "code":200,
  "data":[
    {
      "fileName":"msyh.ttf",
      "fileSize":"14.4 M",
      "fileTime":"2021-11-21",
      "fileAuthor":"15**",
      "fileUrl":"https:\/\/developer.lanzoug.com\/file\/?VTNSbAk4ATBUXVFpU2ZVOVFuBT0FNwR1B3kAbgJwVSAJfQIzDHdUZgc4BD4LOlIMBjVSM1Y0AjUENVNjXDlbYlViUj0JYAFzVGRRdFM6VWVRPgUwBWwEMQc3ADICalVyCXkCJQxsVDIHYQRgC25SfAZtUmZWJgIyBDJTelwxWztVMVJnCW0BMFQxUWRTY1VjUT0FYwU+BDEHNwAwAj9VYAk7Am0MY1Q4B2EEYQtrUmoGbVJjVj4CYQRmUzNcLlsuVSFSYwlyASBUcVFiU3VVPVFvBT0FYwQ0BzIAPgJuVWwJLwIhDDhUbQc0BDQLYlJiBmpSYFY+AjIEN1NnXDZbb1VnUiMJMgE5VHVROlM2VWJRPAU3BWsEMwcyADMCalVtCS8CIAwhVHcHbARjC2lSYAZrUmNWPwI1BDtTYVw1W3xVIFJsCSQBaFQzUTBTNFV6UTMFMgV0BDQHMgAzAnBVZQk5AmIMd1RkBz0Ebwtv"
    }
  ]
}
code 返回值
200 解析成功
201 链接失效/文件取消分享了/文件不存在或已删除等错误
202 请输入密码
203 解析系统出现问题

lanzou_url's People

Contributors

huankong233 avatar wmz1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lanzou_url's Issues

RMEDME錯誤提醒

image
忘記提醒了,readme中的參數說明寫錯了,這裏應該是pass吧

[Bug]文件夹解析错误

https://lanzou-straight-chain-analysis.vercel.app/api/?url=https://katetseng.lanzoux.com/b00r4c8ah&9jw9&pass=9jw9

解析大佬readme中的文件夹正常,自己新创建的文件夹返回203,大佬的示例api返回一样结果
改成lanxzoux也无法正常解析
单文件解析/id均正常
image

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.