Updated the readme file

This commit is contained in:
Rune Olsen 2024-09-09 15:48:06 +02:00
parent 916c567207
commit 24033660d6

View File

@ -3,15 +3,20 @@
## About
Get the latest list of expired domains from the Norwegian company [_domainnameshop_](https://domainname.shop/?currency=GBP&lang=en).
Use a number (integer) as argument to narrow down the length of the domain name (excluding the ```.tld``` part!). Without an argument the app returns all domains.
Use a number (integer) as argument to narrow down the length of the domain name (excluding the ```.tld``` part!). Without an argument the app returns all domains. Use ```no``` or ```se``` to limit country.
Domainnameshop only list the latest *Norwegian* (```.no```) and *Swedish* (```.se```) top domains!
## Usage examples
Basic usage is ```app.py <number-of-chars-in-domain> <top-domain>```
* ```app.py``` -> Returns all domains
* ```app.py 5``` -> Return only domains with 5 chars (+```.no``` or ```.se```) (E.g. 12345.no or abc12.se)
* ```app.py 5 no``` -> Return only domains with 5 chars in the ```.no``` domain segment. **do not use period ```.``` before domain segment!**
* ```app.py 0 se``` -> Return **ALL** domains in the ```.se``` domain segment. **do not use period ```.``` before domain segment!**
* ```app.py 3 > list.txt``` -> Return domains with 3 chars to the file list.txt. Using ```> file.txt``` overwrites an existing file. Using ```>> file.txt``` appends to existing file or create new file.
* ```app.py 3 se > list.txt``` -> Return domains with 3 chars to the file list.txt. Using ```> file.txt``` overwrites an existing file. Using ```>> file.txt``` appends to existing file or create new file.
## Disclaimer