first commit

This commit is contained in:
2025-01-18 21:26:13 +03:00
commit 1a01c5fabc
11 changed files with 499 additions and 0 deletions

13
config/index.js Normal file
View File

@@ -0,0 +1,13 @@
require("dotenv").config();
const config = {
goodreadsBaseUrl: "https://www.goodreads.com/search?q=",
headers: {
"User-Agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.105 Safari/537.36",
},
// Goodreads'e istek atarken, iki istek arasındaki zaman farkıdır
fetchTimeout: 2000,
};
module.exports = config;