From 24033660d6e7bba6ba4c2097aecaef72683d056c Mon Sep 17 00:00:00 2001 From: Rune Olsen Date: Mon, 9 Sep 2024 15:48:06 +0200 Subject: [PATCH] Updated the readme file --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 146c84e..01ea325 100644 --- a/README.md +++ b/README.md @@ -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 ``` + * ```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