https://github.com/pirtleshell/rabbits-clocks
an example of fetching web.archive.org material and generating new pages
https://github.com/pirtleshell/rabbits-clocks
Last synced: over 1 year ago
JSON representation
an example of fetching web.archive.org material and generating new pages
- Host: GitHub
- URL: https://github.com/pirtleshell/rabbits-clocks
- Owner: pirtleshell
- License: mit
- Created: 2017-03-18T23:36:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T23:36:59.000Z (over 9 years ago)
- Last Synced: 2025-02-04T16:49:47.744Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbits clock's archive retrieval
> an example of fetching web.archive.org material and generating new pages
## What
Rabbit's clocks was a website showcasing wooden machines and clocks made by rabbit.
These scripts collect the archived webpage and builds a database of objects used to generate pages for a new webpage.
It is archived [here](https://web.archive.org/web/20101206093122/http://flashpages.prodigy.net/rpirtle/index.html).
## How to Enact
`fetch.py` goes and crawls the Archive and stores the information in `out.json`.
You edit it's `main` to choose which data you're looking for.
Scan your JSON and edit if needed; save it as the file you put into `build.py`.
It takes the data and `template.txt` and fills it for each object.
This one does `clocks` and will soon do `machines`.
Run the following sequence:
* fetch
* edit out.json, save as clock.json
* build - you may need to create the directories `build/images` for downloading to work right.
## License
This is by [Robert Pirtle](https://pirtle.xyz/). Its licence is [MIT](https://choosealicense.com/licenses/mit).