Skip to content

Backing Up Evidence of Police Brutality during the 2020 George Floyd Protests

Notifications You must be signed in to change notification settings

valadect/pbbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

pbbackup

Archiving tool for 2020PB

Prerequisites

Instructions

  1. Clone the 2020PB repo
  2. Clone this repo
  3. Provided that the two repos are within the same parent folder, you should be able to ./pbbackup

Note: Depending on your internet connection you may need to change the --timeout flag in pbbackup so that you dont skip screenshots.

Explanation

pbbackup will download any video provided one is available and then screenshot the page, if there is no video it will just screenshot the page. Then it puts these both in a numeric sub-directory whose parent directory is the location of the incident i.e Arkansas > 0 > video.mp4

A cron job could be used to automate this process by pulling the 2020PB repository and then running this script. The script is set up so there shouldnt be any duplicate files.

Ideas/todo

  • Save twitter albums
  • Clone 2020PB at start of script
  • Suppress youtube-dl errors/get youtube-dl to test for downloadable url
  • Custom path support for 2020PB
  • Save webpages so they can be viewed offliine (WIP)

About

Backing Up Evidence of Police Brutality during the 2020 George Floyd Protests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages