Giter VIP home page Giter VIP logo

freenom-py's Introduction

𝐇𝐢 𝐭𝐡𝐞𝐫𝐞 👋, 𝐈'𝐦 𝐎𝐫𝐞𝐨.

𝑰 𝒂𝒎 𝒂 𝑮𝒊𝒕𝑯𝒖𝒃 𝒃𝒆𝒈𝒊𝒏𝒏𝒆𝒓, 𝒑𝒓𝒂𝒄𝒕𝒊𝒄𝒊𝒏𝒈 𝒐𝒏 𝒕𝒉𝒆 𝒑𝒂𝒕𝒉 𝒐𝒇 𝒂 𝒄𝒐𝒅𝒆 𝒘𝒊𝒛𝒂𝒓𝒅.

Magic Code Wizards

𝕷𝖆𝖓𝖌𝖚𝖆𝖌𝖊𝖘 𝖆𝖓𝖉 𝕿𝖔𝖔𝖑𝖘:

bash docker git heroku javascript jekyll linux perl photoshop postman puppeteer python selenium unity

Metrics

Spring Summer Autumn Winter

freenom-py's People

Contributors

oreomeow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

freenom-py's Issues

【一些看法】windows使用WSL运行脚本且输出日志

修改FNplus中的中文字符为英文(由于bat变量有中文和空格时会有奇奇怪怪的问题,所以直接全部翻译FNplus.py中的中文),且另存为FNplusEN.py

Freenom 续期消息版 → FreedomRenewalMessage
加载通知服务失败 → FailedToLoadNotificationService
Freenom 续期 → FreenomRenewal
{domain} 续期成功 → {domain}RenewalSucceeded
{domain} 续期失败 → {domain}RenewalFailed
{domain} 还有 {days} 天续期 → {domain}Have{days}DaysToRenew
你没有添加任何账户 → YouHaven'tAddedAnyAccounts
账户与密码不匹配 → AccountAndPasswordDoNotMatch

添加bat进行定时任务
bat内容如下。

@echo off
mode con cols=60 lines=20
title FreenomGetFree
:loop
echo [%date:~,-3% %time:~,-3%]Start detection.
echo [%date:~,-3% %time:~,-3%]Start detection. >> Log.log
for /F %%i in ('wsl python3 FNplusEN.py -u USERNAME -p PASSWORD') do ( set commitid=%%i)
echo %commitid%
echo %commitid% >> Log.log
for /F %%i in ('wsl python3 FNplusEN.py -u USERNAME -p PASSWORD') do ( set commitid=%%i)
echo %commitid%
echo %commitid% >> Log.log
echo [%date:~,-3% %time:~,-3%]After the detection is completed, wait for a day to start the next round of detection.
echo [%date:~,-3% %time:~,-3%]After the detection is completed, wait for a day to start the next round of detection. >> Log.log
timeout /t 86400 >nul
goto loop

bat创建快捷方式,添加开机自启即可。
我目前是使用这种方法的,不知道作者及各位有什么高见?

No module named 'utils.exception'

最开始是提示 No module named utils
pip安装后提示下面这个。青龙面板
ModuleNotFoundError: No module named 'utils.exception'

青龙消息版如何添加变量?

变量修改后运行提示没有添加账号?
if "FN_ID" in os.environ:
username = os.environ.get('账号')
if "FN_PW" in os.environ:
password = os.environ.get('密码')

这样填写无法生效?

############

args

parser = argparse.ArgumentParser()
parser.add_argument('-u', '--username', type=str)
parser.add_argument('-p', '--password', type=str)
args = parser.parse_args()
username = '账号' ###我修改的
password = '密码' ###我修改的
最后我修改这两处后运行,有显示我的账号下的域名还剩多少天,不知道这样修改正不正确?

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.