✨风纪委员会自动投票脚本,利用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
Unofficial implementation (replicates paper results!) of MINER: Multiscale Implicit Neural Representations in pytorch-lightning

MINER_pl Unofficial implementation of MINER: Multiscale Implicit Neural Representations in pytorch-lightning. 📖 Ref readings Laplacian pyramid explan

AI葵 51 Nov 28, 2022
Get started learning C# with C# notebooks powered by .NET Interactive and VS Code.

.NET Interactive Notebooks for C# Welcome to the home of .NET interactive notebooks for C#! How to Install Download the .NET Coding Pack for VS Code f

.NET Platform 425 Dec 25, 2022
Source code for the NeurIPS 2021 paper "On the Second-order Convergence Properties of Random Search Methods"

Second-order Convergence Properties of Random Search Methods This repository the paper "On the Second-order Convergence Properties of Random Search Me

Adamos Solomou 0 Nov 13, 2021
Audio-Visual Generalized Few-Shot Learning with Prototype-Based Co-Adaptation

Audio-Visual Generalized Few-Shot Learning with Prototype-Based Co-Adaptation The code repository for "Audio-Visual Generalized Few-Shot Learning with

Kaiaicy 3 Jun 27, 2022
Deep Two-View Structure-from-Motion Revisited

Deep Two-View Structure-from-Motion Revisited This repository provides the code for our CVPR 2021 paper Deep Two-View Structure-from-Motion Revisited.

Jianyuan Wang 145 Jan 06, 2023
Official PyTorch Implementation of "Self-supervised Auxiliary Learning with Meta-paths for Heterogeneous Graphs". NeurIPS 2020.

Self-supervised Auxiliary Learning with Meta-paths for Heterogeneous Graphs This repository is the implementation of SELAR. Dasol Hwang* , Jinyoung Pa

MLV Lab (Machine Learning and Vision Lab at Korea University) 48 Nov 09, 2022
Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformers

Segmentation Transformer Implementation of Segmentation Transformer in PyTorch, a new model to achieve SOTA in semantic segmentation while using trans

Abhay Gupta 161 Dec 08, 2022
Efficient Householder transformation in PyTorch

Efficient Householder Transformation in PyTorch This repository implements the Householder transformation algorithm for calculating orthogonal matrice

Anton Obukhov 49 Nov 20, 2022
Complete* list of autonomous driving related datasets

AD Datasets Complete* and curated list of autonomous driving related datasets Contributing Contributions are very welcome! To add or update a dataset:

Daniel Bogdoll 13 Dec 19, 2022
AOT-GAN for High-Resolution Image Inpainting (codebase for image inpainting)

AOT-GAN for High-Resolution Image Inpainting Arxiv Paper | AOT-GAN: Aggregated Contextual Transformations for High-Resolution Image Inpainting Yanhong

Multimedia Research 214 Jan 03, 2023
Lunar is a neural network aimbot that uses real-time object detection accelerated with CUDA on Nvidia GPUs.

Lunar Lunar is a neural network aimbot that uses real-time object detection accelerated with CUDA on Nvidia GPUs. About Lunar can be modified to work

Zeyad Mansour 276 Jan 07, 2023
you can add any codes in any language by creating its respective folder (if already not available).

HACKTOBERFEST-2021-WEB-DEV Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k21 ? come on in About This is repository of Responsive Portfo

Suman Sharma 8 Oct 17, 2022
An air quality monitoring service with a Raspberry Pi and a SDS011 sensor.

Raspberry Pi Air Quality Monitor A simple air quality monitoring service for the Raspberry Pi. Installation Clone the repository and run the following

rydercalmdown 24 Dec 09, 2022
A Python package to create, run, and post-process MODFLOW-based models.

Version 3.3.5 — release candidate Introduction FloPy includes support for MODFLOW 6, MODFLOW-2005, MODFLOW-NWT, MODFLOW-USG, and MODFLOW-2000. Other s

388 Nov 29, 2022
PyTorch Implementation of Unsupervised Depth Completion with Calibrated Backprojection Layers (ORAL, ICCV 2021)

Unsupervised Depth Completion with Calibrated Backprojection Layers PyTorch implementation of Unsupervised Depth Completion with Calibrated Backprojec

80 Dec 13, 2022
Codes for NeurIPS 2021 paper "Adversarial Neuron Pruning Purifies Backdoored Deep Models"

Adversarial Neuron Pruning Purifies Backdoored Deep Models Code for NeurIPS 2021 "Adversarial Neuron Pruning Purifies Backdoored Deep Models" by Dongx

Dongxian Wu 31 Dec 11, 2022
Pytorch implementation of NeurIPS 2021 paper: Geometry Processing with Neural Fields.

Geometry Processing with Neural Fields Pytorch implementation for the NeurIPS 2021 paper: Geometry Processing with Neural Fields Guandao Yang, Serge B

Guandao Yang 162 Dec 16, 2022
An end-to-end library for editing and rendering motion of 3D characters with deep learning [SIGGRAPH 2020]

Deep-motion-editing This library provides fundamental and advanced functions to work with 3D character animation in deep learning with Pytorch. The co

1.2k Dec 29, 2022
CvT-ASSD: Convolutional vision-Transformerbased Attentive Single Shot MultiBox Detector (ICTAI 2021 CCF-C 会议)The 33rd IEEE International Conference on Tools with Artificial Intelligence

CvT-ASSD including extra CvT, CvT-SSD, VGG-ASSD models original-code-website: https://github.com/albert-jin/CvT-SSD new-code-website: https://github.c

金伟强 -上海大学人工智能小渣渣~ 5 Mar 07, 2022
Tutorial for the PERFECTING FACTORY 5.0 WITH EDGE-POWERED AI workshop

Workshop Advantech Jetson Nano This tutorial has been designed for the PERFECTING FACTORY 5.0 WITH EDGE-POWERED AI workshop in collaboration with Adva

Edge Impulse 18 Nov 22, 2022