Code Monkey home page Code Monkey logo

ci's Introduction

Personal CI库

个人使用,说明书非常简略,有问题可以开issue问,请勿选择Action标签

目前已有2模块:BT下载、Pixiv

BT下载功能说明

目前已有功能如下:

PIXIV相关功能说明

目前已有功能如下:

模块设计说明:

  1. 图片Url获取,仅获取未分类的图片,获取后会自动加上saved的标签,文件输出为image\urllist.txt

  2. aria2下载图片,在下载完全部图片后,存储于image

  3. 上传图片

上传服务

位于Upload中,目前仅提供上传Onedrive的途径(通过Graph API),可以通过rclone,需要自行上传rclone.conf和修改yml

使用说明

  1. 在仓库设置中新建COOKIE的secret,其值为你Pixiv的账号凭证,打开https://www.pixiv.net,按下F12在应用程序>Cookie找到名为PHPSESSID的值,就是它

  2. 在仓库设置中新建UID的secret,其值为你Pixiv账号的UID

接下来进行加密的配置

  1. 运行python C_normal.py --mode create,创建密钥对,(默认4096位),请妥善保管

https://github.com/Rcrwrate/CI/blob/main/CRY/CRY_RSA.py#LL103C24-L103C24

如要修改,请在如上位置修改

  1. 在仓库设置中新建PUBLIC和PRIVATE的secret,其值为public.pem和private.pem中的内容

接下来进行上传器Onedrive的配置,不提供APP的申请教程

在Upload中,会对oa.json和setting.py进行加密和解密,我们将要配置的也是这两个文件

  1. oa.json,如下所示

{"client_id": "*-*-*-*-*", "client_secret": "*-*~*.*.*"}

  1. setting.py可以使用oa.py中的OA.default()进行一键填写,注意修改L8的code

  2. 加密全部机密python C_normal.py --mode jiami

温习提示python C_normal.py --mode jiemi解密全部机密

作为CLI使用

python run.py -h获取并下载(单线程)

python aria.py -h获取并生成urllist.txt文件

ci's People

Contributors

rcrwrate avatar github-actions[bot] avatar

Watchers

 avatar

ci's Issues

Sheya:11764388

DOWNLOAD_UID=11764388
UPLOAD_PATH=Upload/Pixiv/11764388

6203904

DOWNLOAD_UID=6203904
UPLOAD_PATH=Upload/Pixiv/6203904

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.