✨风纪委员会自动投票脚本,利用Github Action帮你进行裁决操作(为了让其他风纪委员有案件可判,本程序从中午12点才开始运行,有需要请自己修改运行时间)

Overview

风纪委员会自动投票

本脚本通过使用Github Action来实现B站风纪委员的自动投票功能,喜欢请给我点个STAR吧!

如果你不是风纪委员,在符合风纪委员申请条件的情况下,本脚本会自动帮你申请

投票时间是早上八点,如果有需要请自行修改.github/workflows/Judge.yml中的时间,时间是UTC时区的时间,需要将时位+8才是北京时间

使用本脚本即代表你放弃追究开发者任何由使用本脚本而造成的责任,所有的责任由使用者自行承担!

赞助

点击下面的Badge其中一个就可以跳转到相应页面,感谢老板的支持!

前往爱发电赞助 使用微信赞助 使用支付宝赞助

目录

从零开始的使用指北☞

使用方法

1、Fork本仓库,直接点击右上角的Fork图标,然后将项目选择到你的账户下即可

2、进入设置,添加变量必需变量csrfsessdata,另有giveupdelay可选变量可以添加

请注意:你无需在仓库的secrets内设置名为GITHUB_TOKEN的变量,该名称本身就是指定为自己账户下名为GITHUB_TOKEN的密钥,如果你在仓库的secrets内设置将会被Github提示无效

如何获取变量内容?请点这里

保活策略

因为Github Action在仓库60天内没有任何Push的时候会禁用你的Action,这时候我们就要进行保活

保活Action已经写好了,但是这里有一些步骤是需要你进行的,请看下面的图片生成GITHUB_TOKEN以便让脚本造成的更改能够正常推送入你的仓库

到这里勾选完以后点绿绿的Generate token就可以了

变量获取

csrf与sessdata

首先我们打开B站,直接在B站的网址后面加上/judgement,或者直接访问https://bilibili.com/judgement,按下键盘上的F12,打开开发者工具

接着我们点到上面的Network(有些写的是网络,例如Edge),在左边找到index项,然后点击它,在右侧找到cookie这一个键,然后复制SESSDATA=;的内容作为sessdatabili_jct=;的内容作为csrf

请注意:不要把分号弄进去了!不要分号!不要分号!(重要的事情说三遍)

giveup与delay

这是两个我设定的值,因为B站对于案件有放弃这一说,所以我对它特别加了个开关

如果你不想让脚本对案件采用放弃的操作,那么就要添加Giveup这个值,而且必须填上False,否则一律当允许放弃处理;还有一个delay是不放弃的话等待多长时间以后再次进行操作计算,以秒为单位,必须是整数,不填就默认为300

JudgeProportion

这是一个设定赞成比例的值,默认设定的是0.7,即赞成票占全部的70%就选择赞成中票数较高的操作,或合规票占全部的70%(即违规占30%)时就投合规,否则进入放弃/等待阶段,这个数字必须是大于0且小于1的小数!若输入无效数字按默认值处理!

脚本测试

我们先进入Action界面,启用Action(因为我这里忘记截图了,所以用我隔壁的那个网易云游戏签到脚本来顶一下)

然后我们进入对应的脚本,启用脚本,并进行测试

只要打了绿色的勾勾就是成功了,然后你就不用管它了,它会自己运行的

脚本更新

自动更新(推荐)

点击这里安装插件,可以选择所有仓库,也可以指选择你Fork的仓库(当然至少要选择fork的仓库对吧,要不然怎么更新),然后不管它就好了

详细步骤可以看下面的图片

手动更新

具体看图,请注意:以下操作均在自己的仓库进行!

这样你就完成了手动更新操作!

免责声明

学习项目,请勿滥用!如果有因滥用造成的封号、删除账户等情况或违反相关法律所造成的责任,本人拒不承担!

Owner
Pesy Wu
C++菜鸟,一般用Python,高中生,2021高考生,上线时间少很多,不一定能及时回复请见谅(>人<;) 小号:@ElainaMoe
Pesy Wu
(ICCV 2021) ProHMR - Probabilistic Modeling for Human Mesh Recovery

ProHMR - Probabilistic Modeling for Human Mesh Recovery Code repository for the paper: Probabilistic Modeling for Human Mesh Recovery Nikos Kolotouros

Nikos Kolotouros 209 Dec 13, 2022
(ImageNet pretrained models) The official pytorch implemention of the TPAMI paper "Res2Net: A New Multi-scale Backbone Architecture"

Res2Net The official pytorch implemention of the paper "Res2Net: A New Multi-scale Backbone Architecture" Our paper is accepted by IEEE Transactions o

Res2Net Applications 928 Dec 29, 2022
A torch implementation of "Pixel-Level Domain Transfer"

Pixel Level Domain Transfer A torch implementation of "Pixel-Level Domain Transfer". based on dcgan.torch. Dataset The dataset used is "LookBook", fro

Fei Xia 260 Sep 02, 2022
The versatile ocean simulator, in pure Python, powered by JAX.

Veros is the versatile ocean simulator -- it aims to be a powerful tool that makes high-performance ocean modeling approachable and fun. Because Veros

TeamOcean 245 Dec 20, 2022
iNAS: Integral NAS for Device-Aware Salient Object Detection

iNAS: Integral NAS for Device-Aware Salient Object Detection Introduction Integral search design (jointly consider backbone/head structures, design/de

顾宇超 77 Dec 02, 2022
TCTrack: Temporal Contexts for Aerial Tracking (CVPR2022)

TCTrack: Temporal Contexts for Aerial Tracking (CVPR2022) Ziang Cao and Ziyuan Huang and Liang Pan and Shiwei Zhang and Ziwei Liu and Changhong Fu In

Intelligent Vision for Robotics in Complex Environment 100 Dec 19, 2022
Keras-retinanet - Keras implementation of RetinaNet object detection.

Keras RetinaNet Keras implementation of RetinaNet object detection as described in Focal Loss for Dense Object Detection by Tsung-Yi Lin, Priya Goyal,

Fizyr 4.3k Jan 01, 2023
Code repository for the paper Computer Vision User Entity Behavior Analytics

Computer Vision User Entity Behavior Analytics Code repository for "Computer Vision User Entity Behavior Analytics" Code Description dataset.csv As di

Sameer Khanna 2 Aug 20, 2022
[CVPR 2022] Official PyTorch Implementation for "Reference-based Video Super-Resolution Using Multi-Camera Video Triplets"

Reference-based Video Super-Resolution (RefVSR) Official PyTorch Implementation of the CVPR 2022 Paper Project | arXiv | RealMCVSR Dataset This repo c

Junyong Lee 151 Dec 30, 2022
Editing a Conditional Radiance Field

Editing Conditional Radiance Fields Project | Paper | Video | Demo Editing Conditional Radiance Fields Steven Liu, Xiuming Zhang, Zhoutong Zhang, Rich

Steven Liu 216 Dec 30, 2022
Pytorch reimplementation of the Vision Transformer (An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale)

Vision Transformer Pytorch reimplementation of Google's repository for the ViT model that was released with the paper An Image is Worth 16x16 Words: T

Eunkwang Jeon 1.4k Dec 28, 2022
Masked regression code - Masked Regression

Masked Regression MR - Python Implementation This repositery provides a python implementation of MR (Masked Regression). MR can efficiently synthesize

Arbish Akram 1 Dec 23, 2021
Illuminated3D This project participates in the Nasa Space Apps Challenge 2021.

Illuminated3D This project participates in the Nasa Space Apps Challenge 2021.

Eleftheriadis Emmanouil 1 Oct 09, 2021
Code for "Intra-hour Photovoltaic Generation Forecasting based on Multi-source Data and Deep Learning Methods."

pv_predict_unet-lstm Code for "Intra-hour Photovoltaic Generation Forecasting based on Multi-source Data and Deep Learning Methods." IEEE Transactions

FolkScientistInDL 8 Oct 08, 2022
Beyond Image to Depth: Improving Depth Prediction using Echoes (CVPR 2021)

Beyond Image to Depth: Improving Depth Prediction using Echoes (CVPR 2021) Kranti Kumar Parida, Siddharth Srivastava, Gaurav Sharma. We address the pr

Kranti Kumar Parida 33 Jun 27, 2022
Generates all variables from your .tf files into a variables.tf file.

tfvg Generates all variables from your .tf files into a variables.tf file. It searches for every var.variable_name in your .tf files and generates a v

1 Dec 01, 2022
Simulate genealogical trees and genomic sequence data using population genetic models

msprime msprime is a population genetics simulator based on tskit. Msprime can simulate random ancestral histories for a sample of individuals (consis

Tskit developers 150 Dec 14, 2022
Implementation of "DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testing".

DeepOrder Implementation of DeepOrder for the paper "DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testing". Project

6 Nov 07, 2022
RATCHET is a Medical Transformer for Chest X-ray Diagnosis and Reporting

RATCHET: RAdiological Text Captioning for Human Examined Thoraxes RATCHET is a Medical Transformer for Chest X-ray Diagnosis and Reporting. Based on t

26 Nov 14, 2022
Pytorch implementation of few-shot semantic image synthesis

Few-shot Semantic Image Synthesis Using StyleGAN Prior Our method can synthesize photorealistic images from dense or sparse semantic annotations using

40 Sep 26, 2022