百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MihoyoBBSTools

> 编程语言
开源

Womsxd/AutoMihoyoBBS,米游社相关脚本

1.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Womsxd/AutoMihoyoBBS,米游社相关脚本

MiYouShe Assistant Sign-in Project based on Python3. It is forbidden to promote this project widely. Thank you for your cooperation. Please do not post on B站. Also, please do not abuse this project. ⚠️ For developers/users of Forks, please do not abuse GitHub Action, because GitHub will calculate your branch GitHub Actions usage and attribute it to the upstream repository, which may cause GitHub to disable this upstream repository. - Purpose of this project This is an MiYouShe assistant sign-in project, which includes the following features 1. Automatically get MiYouShe coins 2. Support national service: Collapse Academy 2, Collapse 3, Unspecified Event Log, Original God, Collapse: Star Sky Railway, Zero Zone 3. Support international service: Collapse 3, Unspecified Event Log, Original God, Collapse: Star Sky Railway, Zero Zone game sign-in How to use the program - Deployment method 1. Use Git or click here to download this project 2. Download Python3 3. Unzip the project compressed package, right-click in the unzipping directory 4. requirements.txt is the required third-party module, run pip install -r requirements.txt to install the module 5. Open the config folder in the directory, copy config.yaml.example and rename it to config.yaml, the multi-user function of the script is implemented by reading different configuration files, you can create countless custom names.yaml, and the script will scan the yaml files with the extension in the config directory and execute them in order according to the name. 6. Use a text editor such as vscode/notepad++ to open the configuration file copied in the previous step 7. Use the method in the Cookie to get the MiYouShe Cookie 8. Paste the copied Cookie into config.yaml's cookie: (in account) Example yaml cookie: the copied cookie 9. Get the Stoken by getting the Stoken from the project, or refer to the methods in the Hutao documentation to get the Stoken (please turn off the BBS module mihoyobbs.enable: false) 10. Copy the Stoken from stoken='the obtained Stoken' and paste it into config.yaml's stoken: (in account) Example yaml stoken: the obtained Stoken 11. Check the value of enable: in config.yaml's required enabled features 12. In the command prompt (cmd)/powershell, run Python main.py to execute 13. For multi-users, use Python mainmulti.py, and for multi-users when automatic execution is required, use Python mainmulti.py autorun Get MiYouShe Cookie 1. Open your browser, enter incognito/stealth mode 2. Since MiHaoGame has modified the Cookie that can be obtained from the bbs, resulting in a missing Cookie obtained at one time, so an additional step is required 3. Open https://www.miyoushe.com/ys/and log in 4. Press the F12 key on the keyboard or right-click to check, open the developer tools, click Source or source code 5. Press Ctrl+F8 on the keyboard or click the stop breakpoint button, click ▌▶Unpause 6. Click Network or network, paste getUserGameUnreadCount into the filter or filter, and select Fetch/XHR 7. Click a captured result, scroll down, find Cookie: 8. Copy the entire content except for Cookie: 9. Paste this copied Cookie into the Cookie in the config file 10. The Cookie has now been obtained Cookie for overseas version 1. Open your browser, enter incognito/stealth mode 2. Open https://act.hoyolab.com/bbs/event/signin/hkrpg/index.html?actid=e202303301540311 and log in 3. Press the F12 key on the keyboard or right-click to check, open the developer tools, and enter JavaScript document.cookie in the console 4. Copy from ltoken=.... to the end 5. Paste the obtained Cookie into the Cookie obtained from the OS previously 6. Get the token of Cloud Original God 1. It is recommended to use incognito/privacy/InPrivate mode to open the browser 2. Open the Cloud Original God web page 3. Press the F12 key on the keyboard or right-click to check, open the developer tools, and log in to the account after opening 4. Enter wallet/wallet/get in the filter, and select a record with status 200 5. Click the record, scroll down, find X-Rpc-Combotoken, copy the corresponding value, and successfully obtain the token 7. Run the Docker script based on Linux platform, and has not been tested on Win platform. After cloning this project to the local, please first add or modify the configuration file according to the above steps. Then run the text Docker-compose up -d to start the Docker container. &nbsp; After the container is successfully run, you can use the text Docker-compose logs -f command to view the program output. If you need to add a configuration file or modify a configuration file, you can directly modify the config folder on the host. The modified content will be synchronized in real time in the container. Each time you run Dock…

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Python
  • •genshin
  • •genshin-impact

> 标签

Pythongenshingenshin-impact

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言