![]() firefox and geckodriver on a path folder like /usr/local/bin.ffmpeg must also be installed locally for this tool to work.Legacy instructions, only use if docker/package is not an option if your orchestration file is inside a secrets/ which we advise.run it with your orchestration file and pass any flags you want in the command line auto-archiver -config secrets/orchestration.yaml.test it's installed with auto-archiver -help.install the package pip/pipenv/conda install auto-archiver.make sure you have python 3.8 or higher installed.Option 2 - python package Python package instructions /app/local_archive is a folder inside docker that you can reference in your orchestration.yml file.$PWD/local_archive is a folder local_archive/ in case you want to archive locally and have the files accessible outside docker.-v same as above, this is a volume instruction.-v $PWD/local_archive:/app/local_archive - (optional) if you use local_storage./app/secrets points to the path the docker container where this image can be found.$PWD/secrets points to a secrets/ folder in your current working directory (where your console points to), we use this folder as a best practice to hold all the secrets/tokens/passwords/.-v is a volume flag which means a folder that you have on your computer will be connected to a folder inside the docker container.-v $PWD/secrets:/app/secrets - your secrets folder.-rm makes sure this container is removed after execution (less garbage locally).docker run tells docker to start a new container (an instance of the image).run the docker image locally in a container: docker run -rm -v $PWD/secrets:/app/secrets -v $PWD/local_archive:/app/local_archive bellingcat/auto-archiver -m auto_archiver -config secrets/orchestration.yaml breaking this command down:.pull the auto-archiver docker image with docker pull bellingcat/auto-archiver.Since it is an isolated environment when you need to pass it your orchestration file or get downloaded media out of docker you will need to connect folders on your machine with folders inside docker with the -v volume flag. How to run the auto-archiver Option 1 - docker Docker instructionsĭocker works like a virtual machine running inside your computer, it isolates everything and makes installation simple. (legacy/development) clone and manually install from repo (see legacy tutorial video)īut you always need a configuration/orchestration file, which is where you'll configure where/what/how to archive.(local python install) pip install auto-archiver.There are 3 ways to use the auto-archiver: It can be run manually or on an automated basis. If using Google Sheets as the source for links, it will be updated with information about the archived content. Uses different archivers depending on the platform, and can save content to local storage, S3 bucket (Digital Ocean Spaces, AWS. Python tool to automatically archive social media posts, videos, and images from a Google Sheets, the console, and more. Read the article about Auto Archiver on.
0 Comments
Leave a Reply. |