Coder Social home page Coder Social logo

guodechao / transition-ticket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hobr/transition-ticket

0.0 0.0 0.0 1.45 MB

B站会员购 抢票脚本

License: GNU General Public License v3.0

JavaScript 8.41% Python 84.17% CSS 2.50% Nix 0.91% HTML 4.00%

transition-ticket's Introduction

Transition Ticket

声明

电报交流群

本程序仅供学习交流, 不得用于商业用途,

使用本程序进行违法操作产生的法律责任由操作者自行承担,

对本程序进行二次开发/分发时请注意遵守GPL-3.0开源协议,

本脚本仅适用于蹲回流票, 我们反对将其用于抢票,

黄牛/收费代抢4000+.

使用

下载地址

注意:

  1. MacOS/Linux用户请根据手动安装流程安装进行使用;
  2. 现仅支持部分活动, 主要是类似于BW2024这样的实名制 一人一票 无选座活动, 后期会增加更多类型的票务支持;
  3. 如使用浏览器登录功能, 您的电脑里必须安装Chrome/Edge/Firefox浏览器, 如有安装还是提供无法启动, 则需要自行安装其中一个浏览器的Web Driver,
  4. assest/alarm.wav文件为语音提醒文件, 可自行更换其他提示音.

手动安装

  • Python >=3.10,<3.13
# MacOS
brew install portaudio
# Ubuntu
sudo apt-get install portaudio19-dev

git clone https://github.com/biliticket/transition-ticket.git
cd transition-ticket
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install virtualenv

virtualenv venv
source venv/script/activate
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements.txt
python cli.py

运行流程

FSM

开发计划

  • Async
  • 其他票种可购情况
  • 检测配置文件完整性
  • 修改打包模式为目录模式, 而不是单文件模式
  • 显示版本号
  • 多种类型活动抢票
  • 参数启动
  • 图形界面(PySide6)

开发

  • Python >=3.10,<3.13
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install poetry virtualenv

virtualenv venv
source venv/script/activate
poetry install --with dev,graph
pre-commit install

# 更新
poetry update
pip freeze > requirements.txt
pre-commit autoupdate

# 打包
pyinstaller --clean --noconfirm --log-level WARN cli.spec

感谢

transition-ticket's People

Contributors

hobr avatar j1ushan9 avatar ziantt avatar andy-chuck avatar cca2878 avatar

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.