Extend expiry date of euserv.com
Update 20211102: No longer works. Euserv has implemented a new mechanism (PIN via email) for extending expiry date. Automatic renewal will be difficult if not impossible.
-
Fork this repo https://github.com/ffreemt/extend-euserv/fork
-
Set the resultant repo
SecretsName Value EUSERV_EMAIL: your_euserv_email EUSERV_PASSWORD: your_euserv_password -
[Optionally] Change
crontabin line 6 of.github/workflows/schedule-extend-euserv.yml(link) to your like. (This online crontab editor may come handy https://crontab.guru/#0_0_/9__*)
not ready yet pip install extend-euservor clone https://github.com/ffreemt/extend-euserv and install from the repo.
python -m extend-euserv -u your_euserv_email -p passwordor use directly the extend-euserv script:
extend-euserv -u your_euserv_email -p password- Set email/password from the command line:
set EUSERV_EMAIL=your_euserv_email # export in Linux or iOS set EUSERV_PASSWORD=password
- Or set email/password in .env, e.g.,
# .env EUSERV_EMAIL=your_euserv_email EUSERV_EMAIL=password
Run extend-euserv or python -m extend_euserv:
extend-euservor
python -m extend_euservextend-euserv -ior
python -m extend_euserv -iextend-euserv -dor
python -m extend_euserv -dextend-euserv --helpshortor
python -m extend_euserv --helpshortYou can configure EUSERV_HEADFUL, EUSERV_DEBUG and EUSERV_PROXY in the .env file in the working directory or any of its parent directoreis. For example,
# .env
EUSERV_HEADFUL=1
EUSERV_DEBUG=true
# EUSERV_PROXYIt's straightforward to setup extend-euserv to run via Github Actions, best with an infrequent crontab.
- Fork this repo
- Setup
Actions secretsviaSettings/Add repository secrets:
| Name | Value |
|---|---|
| EUSERV_EMAIL: | your_euserv_email |
| EUSERV_PASSWORD: | your_euserv_password |
For example, in .github/workflows/schedule-extend-euserv.yml
name: schedule-extend-euserv
on:
push:
schedule:
- cron: '10,40 3 */9 * *'
...
setup, e.g. pip install -r requirements.txt or
poetry install --no-dev
...
- name: Testrun
env:
EUSERV_EMAIL: ${{ secrets.EUSERV_EMAIL }}
EUSERV_PASSWORD: ${{ secrets.EUSERV_PASSWORD }}
run: |
python -m extend_euserv -d -i