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)