Skip to content

Police-Data-Accessibility-Project/automatic-archives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automatic-archives

This tool uses the PDAP API to fetch data sources, then uses the Save Page Now API at the Internet Archive based on their update frequency.

Then, it uses the PDAP API to update the Data Sources' last_cached and url_status properties.

This script runs from the Automation Manager on a daily basis, with the Jenkinsfile and the Dockerfile utilized to ensure the script runs in a consistent environment and manner.

Requires the following environment variables to be set:

VUE_APP_PDAP_API_KEY=<YOUR_PDAP_API_KEY>
VITE_VUE_APP_BASE_URL=<YOUR_PDAP_API_URL>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published