add random, add autocomplete, more smaller changes
This commit is contained in:
parent
5fe235194b
commit
608f4d5e8d
10 changed files with 1039 additions and 66 deletions
|
@ -15,13 +15,15 @@ export const booruConfig: IBooruConfigMap = {
|
|||
aliases: ["rule34", "r34", "rule34xxx"],
|
||||
endpoint: "api.rule34.xxx",
|
||||
functions: booruDefaults,
|
||||
autocomplete: "ac.rule34.xxx/autocomplete.php?q=",
|
||||
},
|
||||
"realbooru.com": {
|
||||
enabled: false,
|
||||
enabled: true,
|
||||
name: "realbooru.com",
|
||||
aliases: ["realbooru", "rb", "real34"],
|
||||
endpoint: "realbooru.com",
|
||||
functions: booruDefaults,
|
||||
autocomplete: "realbooru.com/index.php?page=autocomplete&term=",
|
||||
},
|
||||
"safebooru.org": {
|
||||
enabled: true,
|
||||
|
@ -29,6 +31,7 @@ export const booruConfig: IBooruConfigMap = {
|
|||
aliases: ["safebooru", "sb", "s34"],
|
||||
endpoint: "safebooru.org",
|
||||
functions: booruDefaults,
|
||||
autocomplete: "safebooru.org/autocomplete.php?q=",
|
||||
},
|
||||
"tbib.org": {
|
||||
enabled: true,
|
||||
|
@ -36,6 +39,7 @@ export const booruConfig: IBooruConfigMap = {
|
|||
aliases: ["tbib", "tb", "tbiborg"],
|
||||
endpoint: "tbib.org",
|
||||
functions: booruDefaults,
|
||||
autocomplete: "tbib.org/autocomplete.php?q=",
|
||||
},
|
||||
"hypnohub.net": {
|
||||
enabled: true,
|
||||
|
@ -43,6 +47,7 @@ export const booruConfig: IBooruConfigMap = {
|
|||
aliases: ["hypnohub", "hh", "hypnohubnet"],
|
||||
endpoint: "hypnohub.net",
|
||||
functions: booruDefaults,
|
||||
autocomplete: "hypnohub.net/autocomplete.php?q=",
|
||||
},
|
||||
"xbooru.com": {
|
||||
enabled: true,
|
||||
|
@ -50,12 +55,14 @@ export const booruConfig: IBooruConfigMap = {
|
|||
aliases: ["xbooru", "xb", "xboorucom"],
|
||||
endpoint: "xbooru.com",
|
||||
functions: booruDefaults,
|
||||
autocomplete: "xbooru.com/autocomplete.php?q=",
|
||||
},
|
||||
"e621.net": {
|
||||
enabled: true,
|
||||
name: "e621.net",
|
||||
aliases: ["e621", "e6", "e621net"],
|
||||
endpoint: "e621.net",
|
||||
autocomplete: "e621.net/tags/autocomplete.json?search[name_matches]=",
|
||||
functions: {
|
||||
search: "posts.json",
|
||||
random: "defaultRandom",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue