Giter Club home page Giter Club logo

ff14house's Introduction

ff14House

通过石之家社区的用户界面 , 判断玩家的房子是否快到期.

房屋要到期时 , 房屋信息会出现(剩余xx天)的提示

在房屋出现剩余天数提示时 , 脚本会通过电子邮件和server两种方式来通知你

这需要你填入完整的config

关于配置文件

  • 使用github的 Repository secrets

    这种方式不会导致密码泄露 , 在直接Fork仓库的情况下 , 推荐使用这种方式

  • 使用项目中的 config.ini

    只推荐在私有仓库中使用 , 在公有仓库中使用有密码泄露的风险

使用github的 Repository secrets

1.使用项目的mainSecrets.py , 需要使用Action中的dailySecrets

2.新建secrets , 创建路径为:

Settings -> Secrets and variables -> Actions -> (绿色的按钮) New repository secret

在Name栏中填写变量名称 , 在Secret中填写变量值

需设置的 Secrets 包括(如果不需要其值可以为空,即 '',但必须设置):

名称 含义
UUID 用户的uuid,多位以,分隔:10001,10022,10003
COOKIE 石之家Cookies,建议以单引号''包围,避免转义带来的问题,即'cookies'
SENDER_EMAIL 发件人邮箱
SENDER_PASSWORD 发件人邮箱密码,下文有QQ邮箱授权码获取途径
RECIPIENT_EMAIL 收件人邮箱
PORT SMTP服务接口 , QQ邮箱为587
SMTP SMTP服务器地址 , QQ邮箱为smtp.qq.com
SERVER_CHAN Server酱密钥
UA 获取石之家cookie时的浏览器的User-Agent

使用明文config.ini

1.使用项目的main.py , 需要使用Action中的daily

2.如果你不会设置secrets , 或者想在本地部署 , 可以使用这种方式

3.如果使用github的action部署 , 强烈建议将仓库转为私有仓库

注意事项

  • 石之家

    • 使用一个账号登录石之家后 , 尽量不要在别的地方登录这个账号 , 防止cookie被挤掉失效
  • server酱

  • smtp授权码获取途径

    • 本人使用的是QQ邮箱 , 你可以选择使用其他邮箱
    • smtp授权码:登录网页版QQ邮箱->设置->账号->POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务
  • Action中的dailySecrets和daily , 分别对应Repository secrets方式和config.ini方式

    任选其一运行即可 , 石之家上没有部队房信息 , 无法判断部队房是否到期

:name

ff14house's People

Contributors

wc-op avatar

Stargazers

nicognaw avatar  avatar ArcsionLin avatar  avatar  avatar  avatar AtmoOmen avatar stuka avatar  avatar  avatar GuoMie avatar

Watchers

 avatar

ff14house's Issues

建议将项目中的 Server酱 链接换成推荐链接

您好,我是 Server酱的作者 Easy 。注意到您的项目中对接或提及了 Server酱,非常感谢对我们的支持。

这里有一个小建议。Server酱最近推出了「推荐返现计划」,您可以在项目中Server酱的官网链接后边加上推荐参数,这样在用户从这里进入Server酱并订阅会员后,您的项目将获得2元/单的佣金。

只需要用微信登录fx.ft07.com ,然后开通计划就可以获得您的推荐链接,佣金会实时地转入开通账号的微信零钱中。

希望这个计划能让您的开源项目更好。


Hello, I am Easy, the author of ServerChan. I noticed that your project has integrated or mentioned ServerChan, and I am very grateful for that.

I have a small suggestion. ServerChan has recently launched a "Referral Cashback Program". You can add a referral parameter to the link to ServerChan's official website in your project. This way, when users enter ServerChan through your link and subscribe to a membership, your project will earn a commission of 2 RMB per subscription.

You just need to log in to fx.ft07.com with WeChat, activate the program, and you will get your referral link. The commission will be instantly transferred to the WeChat Wallet of the account that activated the program.

Even though the earnings might not be substantial, I hope this program can provide some additional support for your open-source project.

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.