From 914bcbb474f6f186c212b2da0d9d864b5e75d8e4 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 29 Jun 2024 20:59:16 +0200 Subject: Rename to Faunerie --- e621/match.js | 2 +- e621/update.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'e621') diff --git a/e621/match.js b/e621/match.js index f2272e7..3837500 100755 --- a/e621/match.js +++ b/e621/match.js @@ -1,4 +1,4 @@ -const PATH = require('fs').readFileSync(require('os').homedir() + "/.prisbeam_path").toString().trim(); +const PATH = require('fs').readFileSync(require('os').homedir() + "/.faunerie_path").toString().trim(); const sqlite3 = require('sqlite3').verbose(); const db = new sqlite3.Database(PATH, sqlite3.OPEN_READONLY); diff --git a/e621/update.js b/e621/update.js index 7c44c73..08d61af 100755 --- a/e621/update.js +++ b/e621/update.js @@ -46,7 +46,7 @@ db.serialize(async () => { let res = await fetch("https://e621.net/posts.json?page=" + page + "&limit=320&tags=" + encodeURIComponent("fav:" + API_ID), { headers: { "Authorization": "Basic " + btoa(TOKEN), - "User-Agent": "Mozilla/5.0 (+Prisbeam; https://source.equestria.dev/equestria.dev/prisbeam)" + "User-Agent": "Mozilla/5.0 (+Faunerie; https://github.com/equestria-dev/faunerie)" } }); -- cgit