1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 09:14:39 -05:00

rename fetcher to dislikes

This commit is contained in:
Ashley 2023-09-09 16:52:06 +00:00
parent 355e721c6f
commit 6006946ce5

View file

@ -8,7 +8,7 @@
const { toJson } = require("xml2json"); const { toJson } = require("xml2json");
const { curly } = require("node-libcurl"); const { curly } = require("node-libcurl");
const fetcher = require("../libpoketube/libpoketube-fetcher.js"); const getdislikes = require("../libpoketube/libpoketube-dislikes.js");
const getColors = require("get-image-colors"); const getColors = require("get-image-colors");
const wiki = require("wikipedia"); const wiki = require("wikipedia");
@ -104,7 +104,7 @@ class PokeTubeCore {
} }
if (this.checkUnexistingObject(vid)) { if (this.checkUnexistingObject(vid)) {
const fe = await fetcher(v); const fe = await getdislikes(v);
try { try {
const headers = {}; const headers = {};