commit fcaf53956caaf3bec39c8d60aff377eb01239bb1
parent 6fc2767d551ead715e5ee945b5bc20d50dc77ed5
Author: Demonstrandum <moi@knutsen.co>
Date: Tue, 10 Nov 2020 15:31:37 +0000
Merge branch 'master' of github.com:Demonstrandum/Simp-O-Matic
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/action.ts b/lib/action.ts
@@ -62,6 +62,7 @@ const ACTIONS: Record<ActionType, Actions> = {
"https://media1.tenor.com/images/8f668350ed3dca15ad95fcd2ae2d93bd/tenor.gif?itemid=5769476",
"https://media1.tenor.com/images/5e62e705a680e8f49ad0fb30e8e3c6dd/tenor.gif?itemid=15304437",
"https://media1.tenor.com/images/b1613fda51b951fe42453bf90f89b209/tenor.gif?itemid=13082428",
+ "https://cdn.discordapp.com/attachments/710852599208869910/775210248255307776/1568253225448.gif",
],
transitiveness: true
},
diff --git a/lib/commands/youtube.ts b/lib/commands/youtube.ts
@@ -31,7 +31,7 @@ export default async (home_scope: HomeScope) => {
}
const query_uri = encodeURI(query);
- const result = await fetch(`https://invidio.us/api/v1/search`
+ const result = await fetch(`https://vid.mint.lgbt/api/v1/search`
+ `?q=${query_uri}&sort_by=${sort_by}&type=${type}`);
const res_json = await result.json();
const res = res_json[Math.abs(num - 1)];
diff --git a/yarn.lock b/yarn.lock
@@ -545,9 +545,9 @@ bignumber.js@^9.0.0:
integrity sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==
bl@^1.0.0:
- version "1.2.2"
- resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c"
- integrity sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==
+ version "1.2.3"
+ resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.3.tgz#1e8dd80142eac80d7158c9dccc047fb620e035e7"
+ integrity sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww==
dependencies:
readable-stream "^2.3.5"
safe-buffer "^5.1.1"