Giter Site home page Giter Site logo

autoapi's Introduction

E5续订程序-腾讯云函数实现

GitHub issues GitHub forks GitHub stars Python

说明

这个脚本修改至 AutoApiSecret,但是原代码已经被 github 删除了,因此不再此链接 同样不保证能续定

步骤

  1. 将执行方法改为 index.main,超时时间改为 900

    50VTvF.png

  2. 获取 refresh_token

    可使用 rclone.exe 获取,具体参考 B站教程

    也可以自己部署一个获取程序,使用腾讯云 serverless,可以方便以后获取,具体可以参考 E5_refresh_token

  3. 填写环境变量,具体需要有

    变量名 描述
    clien_id 应用ID
    function_name 云函数名称
    refresh_token 获取到的刷新令牌
    secret 应用密钥
    redirect_uri 重定向地址
    region 云函数所在地区代号 详情
    SecretId 账号信息-访问管理-访问密钥-新建密钥 地址
    SecretKey 同 SecretId

    50uonS.png

  4. 触发器可以选择每 2 个小时执行一次

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.