diff --git a/README.md b/README.md index b67086b..a4c53d6 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,13 @@ Run scripts together with `./run.sh` * Downloads all images from wiki to `images/` directory * and stores each image's metadata to `images.json` -`python3 publication2html.py` +`python3 query2html.py` * with ask API perform a query: - * help `python3 publication2html.py --help` - * run dry `python3 publication2html.py --dry` only printing request, not executing it + * help `python3 query2html.py --help` + * run dry `python3 query2html.py --dry` only printing request, not executing it * build custom query with arguments `--conditions --printouts --sort --order` * default query is: `[[File:+]][[Title::+]][[Part::+]][[Date::+]]|?Title|?Date|?Part|?Partof|sort=Date,Title,Part|order=asc,asc,asc` - * custom query `python3 publication2html.py -c '[[Date::>=1970/01/01]][[Date::<=1979/12/31]]' -p '?Title|?Date|?Part|?Partof' -s 'Date,Title,Part' -o 'asc,asc,asc'` + * custom query `python3 query2html.py -c '[[Date::>=1970/01/01]][[Date::<=1979/12/31]]' -p '?Title|?Date|?Part|?Partof' -s 'Date,Title,Part' -o 'asc,asc,asc'` * The results, with the same Title, are stored * into 1 single HTML diff --git a/publication2html.py b/query2html.py similarity index 100% rename from publication2html.py rename to query2html.py diff --git a/run.sh b/run.sh index bd4c610..54a401d 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/sh python3 download_imgs.py -python3 publication2html.py +python3 query2html.py