-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b56f027
commit 8e76527
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# automatic-archives | ||
These Python scripts extract a series of URLs and their metadata from a JSON file, then caches them at the Internet Archive based on their update frequency. | ||
This tool uses the [PDAP API](https://docs.pdap.io/api/endpoints/data-sources-database) to fetch data sources, then uses the [Save Page Now API](https://docs.google.com/document/d/1Nsv52MvSjbLb2PCpHlat0gkzw0EvtSgpKHu4mk0MnrA/edit#heading=h.1gmodju1d6p0) at the Internet Archive based on their update frequency. | ||
|
||
They are set up to run with a GitHub Actions workflow. | ||
Then, it uses the PDAP API to update the Data Sources' `last_cached` and `url_status` properties. | ||
|
||
The JSON URL data comes from [this repository](https://github.com/Police-Data-Accessibility-Project/data-sources-mirror). | ||
The script is set up to run with a GitHub Actions workflow. |