GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - exurd/TXT2WARC: A text file to WARC pipeline for grab-site-docker.

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
modules
modules
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SUPPORTED.md
SUPPORTED.md
 
 
__main__.py
__main__.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Basically, it's a text file to WARC pipeline for grab-site (and technically ArchiveBot).

Prototype was coded on Windows and requires Python, 7-Zip & Docker. Untested on other platforms.

Instructions

  1. Download and install Docker.
  2. Grab Dockerfile from Nold360/docker-grab-site and place into a folder in a directory (e.g. D:\grab-site-data, /home/user/grab-site-data/).
    1. This will become the data folder for the docker containers, where the WARCs will be saved. It's recommened to use a root directory with no spaces.
  3. Build the image with docker build -t grab-site . (Size of docker image is around 500 mb)
    1. If you are on an ARM system (or Apple Silicon), it is recommended to add --platform=linux/amd64 to all of these docker commands you run avoid issues with wget's WARC creation.
  4. Spin the container up with docker run -d --rm -p29000:29000 -v DATA_FOLDER:/data --name grab-site-container grab-site
    1. Set DATA_FOLDER to the path of the above directory.
  5. Create a text file of a bunch of IDs you want the script to archive.
    1. To see what this program supports, see SUPPORTED.md
  6. Open a terminal in this repo directory.
  7. Run python . DATA_FOLDER TEXTFILE ITEM_TYPE
    1. DATA_FOLDER is the directory above, TEXTFILE is the text file and ITEM_TYPE is what type the items in the text file are.

About

A text file to WARC pipeline for grab-site-docker.

Topics

7-ziparchivebotarchiveteamdockergrab-sitepythontexttext-fileurlurlswarc

Resources

Readme
Unlicense
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.