From dfc07f82fe1e53c0d081fca942c8231217958b8e Mon Sep 17 00:00:00 2001 From: gravel Date: Mon, 22 Jan 2024 09:49:15 +0000 Subject: [PATCH] Allow download of fetched artifacts --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index c262f86..c468961 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,12 @@ fetch: fetch-dry: /bin/php php/fetch-servers.php $(FLAGS) --dry-run +# Skip fetching by using the JSON currently served online +fetch-steal: CURL = torsocks curl --progress-bar +fetch-steal: + $(CURL) https://sessioncommunities.online/servers.json -o output/servers.json + $(CURL) https://sessioncommunities.online/tags.json -o output/tags.json + # Generate HTML from data. html: /bin/php php/generate-html.php $(FLAGS)