feat: update urls

This commit is contained in:
relikd
2024-03-09 02:30:07 +01:00
parent e1d74f49fb
commit cea4d18672
2 changed files with 178 additions and 31 deletions

View File

@@ -65,12 +65,6 @@ Similar commands exist on Linux and Windows.
## Development
### TODO
- Reindexing of previous URLs (should remove dead-links and add new ones)
- Periodic check on outdated URLs (see previous)
### Requirements
- `ipa_archive.py` has a dependency on [RemoteZip](https://github.com/gtsystem/python-remotezip) (`pip install remotezip`)
@@ -99,6 +93,13 @@ To add files to the archive follow these steps:
4. `./tools/image_optim.sh` (this will convert all .png files to .jpg)
5. `python3 ipa_archive.py export json`
To update:
- `python3 ipa_archive.py update` # check all links (if not udpated recently)
- `python3 ipa_archive.py update [url|base_url_id]` # force update
- Then run the same steps as after adding an url
Userful helper:
- `./tools/check_error_no_plist.sh` # checks that no plist exists for a done=4 entry
- `./tools/check_missing_img.sh` # checks that for each .plist an .jpg exists