Git Product home page Git Product logo

buff-bot's Introduction

Buff-Bot

免费、开源的网易Buff及悠悠有品饰品交易平台自动收发货解决方案
杜绝收费、安全稳定

使用Python3和Requests库实现的网易BUFF饰品交易平台、悠悠有品饰品交易平台全自动发货/求购收货
使用前请仔细阅读本文档!
欢迎有能力者提交PR来完善本程序。
请勿违反开源协议,包括但不限于倒卖此程序或修改后不进行开源等。

如何使用?

  1. 前往 Github Releases 下载适合自己系统的Buff-Bot
  2. 将所得文件解压缩
  3. 打开 config 文件夹
  4. config.example.json 复制到 config.json 并修改配置(相关教程见FAQ)
  5. 打开steamaccount.json, 修改所有参数(相关教程见FAQ)
  6. 打开cookies.txt, 填入网易BUFF的cookie(包含session即可).如果要使用悠悠有品发货功能,你还需要编辑config.yml并填入悠悠有品的token(相关配置项见FAQ)
  7. 给予本仓库一个star(手动狗头)

FAQ

1.支持Linux?
完美支持.

2. config.json 说明

配置项 描述
dev 是否开启开发者模式, 非开发者请勿开启, 具体效果请自行查看代码
uu_token 默认为disabled,填入悠悠有品token后可启用悠悠有品自动发货功能,token获取教程见FAQ
interval 每次检查是否有新报价间隔(轮询间隔),单位为秒
ignoreSSLError 设置为true后,关闭SSL验证(请自行确保网络环境安全)
no_pause 设置为true后,所有按回车键继续的提示都会被取消
sell_protection 是否开启出售保护, 开启后将不会自动接收低于价格过低的出售请求
protection_price 出售保护价格, 若其他卖家最低价低于此价格, 则不会进行出售保护
protection_price_percentage 出售价格保护比例, 若出售价格低于此比例*其他卖家最低价格,则不会自动接收报价
sell_notification 出售通知(如不需要可直接删除)
title 通知标题
body 通知内容
protection_notification 出售保护通知(如不需要可直接删除),详见FAQ和Apprise

3.steamaccount.json说明

配置项 描述
steamid Steam 的数字 ID
shared_secret Steam 令牌参数
identity_secret Steam 令牌参数
api_key Steam 网页 API 密钥
steam_username Steam 登录时填写的用户名
steam_password Steam 登录时填写的密码
部分参数获取教程请查看附录

4.账号安全问题?
Buff-Bot所有源代码均开放在GitHub,可供所有人自行查看代码安全性
在用户的电脑不被恶意软件入侵的情况下,账号不可能泄露

5.protection_notification配置项说明

配置项 描述
sell_notification 出售通知(如不需要可直接删除)
title 通知标题
body 通知内容
protection_notification 出售保护通知(如不需要可直接删除)
title 通知标题
body 通知内容
servers Apprise格式服务器列表 - 详见Apprise
- 额外支持 Server酱 格式为ftqq://<SENDKEY>

6.悠悠有品token获取教程
在安装好所有依赖后,直接运行python get_uu_token.py并按照提示操作即可

7.可否关闭Buff自动发货,只是有悠悠有品自动发货?
由于本程序第一次编写时未考虑到支持其它平台,暂时无法关闭.后期会推出重写版本.

附录

关于steamaccount.json相关参数的获取教程都在下面, 请自行参阅
个人推荐使用 Watt Toolkit 获取Steam令牌参数 操作非常简便

获取Steam网页API KEY
buffhelp 网易buff自动发货-哔哩哔哩(请查看P2-P7)
Obtaining SteamGuard from mobile device
Obtaining SteamGuard using Android emulation

鸣谢

感谢 @lupohan44 为本项目提交的大量代码!
特别感谢 JetBrains 为开源项目提供免费的 PyCharm 等 IDE 的授权

buff-bot's People

Contributors

jiajiaxd avatar lupohan44 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.