diff options
Diffstat (limited to 'e621')
-rwxr-xr-x | e621/match.js | 2 | ||||
-rwxr-xr-x | e621/update.js | 2 |
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)" } }); |