aboutsummaryrefslogtreecommitdiff
path: root/e621
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-06-29 20:59:16 +0200
committerRaindropsSys <raindrops@equestria.dev>2024-06-29 20:59:16 +0200
commit914bcbb474f6f186c212b2da0d9d864b5e75d8e4 (patch)
treeb77a3e341f87e7a9c4ad9e1f9d4928f5b2495329 /e621
parent1c94bd658c2469f9ca9f465db82e71b6f7d2bfe8 (diff)
downloadfaunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.tar.gz
faunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.tar.bz2
faunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.zip
Rename to Faunerie
Diffstat (limited to 'e621')
-rwxr-xr-xe621/match.js2
-rwxr-xr-xe621/update.js2
2 files changed, 2 insertions, 2 deletions
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)"
}
});