sorok-dva / freenom-auto-renew-domains Goto Github PK
View Code? Open in Web Editor NEWA scraper built with puppeteer that auto renew free domains on Freenom and send discord message using bot
A scraper built with puppeteer that auto renew free domains on Freenom and send discord message using bot
I'm start in docker on server without GPU and take error
I try fix by this guide? but not work for me. Has anyone tested this on the server?
So I use a Google account to login to Freenom
I get this error when using a Google account
Connected to the freenoms-domains database.
Domain Checker - Freenom
Username complete
Password complete
[login] Error TimeoutError: waiting for selector `.renewalContent` failed: timeout 30000ms exceeded
at new WaitTask (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:513:34)
at DOMWorld.waitForSelectorInPage (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:424:26)
at internalHandler.waitFor (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
at DOMWorld.waitForSelector (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:317:29)
at Frame.waitForSelector (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:841:51)
at Page.waitForSelector (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:2313:33)
at Object.login (/home/pi/services/freenom-auto-renew-domains/config/freenom.js:66:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.init (/home/pi/services/freenom-auto-renew-domains/config/freenom.js:47:7)
at async CronJob.<anonymous> (/home/pi/services/freenom-auto-renew-domains/app.js:13:3)
Scrap finished for https://my.freenom.com/domains.php?a=renewals
[renew] Error Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed.
at CDPSession.send (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:208:35)
at ExecutionContext._evaluateInternal (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:204:50)
at ExecutionContext.evaluate (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:27)
at DOMWorld.evaluate (/home/pi/services/freenom-auto-renew-domains/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:91:24)
I suspect that freenom-auto-renew-domains does not know how to login with Google. Or at least how I have it in my config
DB_NAME=freenoms-domains
CHROME_PATH=/usr/bin/chromium-browser
DISCORD_WEBHOOK_ID=*******************
DISCORD_WEBHOOK_TOKEN=**********************************************
[email protected]
FREENOM_PASS=my google password
FREENOM_CRONJOB="*/5 * * * *"
Well i wanted to run this app but gave me an issue on www.replit.com as it can run 24/7.
it say it can't find .env even though it is stored in secrets and could you plz tell how to use webhooks as it give only url and it requires token no.
thankyou
Add option to register and cancel domains, manage DNS records and edit nameservers to this script.
This can be done with Discord application (without bot) using slash commands.
On Discord dev portal you can set this option
This project could have webserver running on some port (that can be specified in .env file) and should listen for interactions from Discord.
> [email protected] start
> node .
Connected to the freenoms-domains database.
[INIT] Failed TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r901912 is guaranteed to work.
at Timeout.onTimeout (/home/container/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:208:20)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)
Got this error
hey,
i just want to say thank you, your git is so great for me cause i have lot of domain there at freenom, and i need this, cause my head memory is nearly full because of life stuff, and the internet... that terrible.
Now i can sleep well with your git auto renewal, thankyou so much, i love youuuu
Hi,
i'm very pleasure for your hard work gained to the community all around the world, just because this is end of the month so i'm not having much to sponsor the project, but promise to sponsor more in the next month as i can.
thanks much, and love from here.
Hello, it stopped working
Connected to the freenom1-domains database.
Domain Checker - Freenom
Username complete
Password complete
connected
[renew] Error Error: net::ERR_ABORTED at https://my.freenom.com/domains.php?a=renewdomain&domain=1107348492
at navigate (/home/container/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:194:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async FrameManager.navigateFrame (/home/container/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:170:21)
at async Frame.goto (/home/container/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:583:16)
at async Page.goto (/home/container/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1112:16)
at async /home/container/config/freenom.js:119:11
at async Promise.all (index 2)
at async Object.renewFreeDomains (/home/container/config/freenom.js:98:7)
at async Object.init (/home/container/config/freenom.js:52:7)
at async run (/home/container/app.js:18:3)
Scrap finished for https://my.freenom.com/domains.php?a=renewals
It doesnt want to renew anymore
Add support for hosting it on railway.app - write dockerfile and make deploy on railway and heroku button
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.