mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 06:14:39 -05:00
bump version :3
This commit is contained in:
parent
6e05c11292
commit
53fcc21fab
1 changed files with 5 additions and 2 deletions
|
@ -20,8 +20,8 @@ const {
|
|||
|
||||
const pkg = require("../../../package.json");
|
||||
|
||||
const ver = "v22.1220-cA9aBA-stable-git"
|
||||
const versionnumber = "106"
|
||||
const ver = "v22.1224-cMrvBa-stable-git"
|
||||
const versionnumber = "107"
|
||||
|
||||
const response = {
|
||||
pt_version: ver,
|
||||
|
@ -86,9 +86,11 @@ module.exports = function (app, config, renderTemplate) {
|
|||
var format = "mp4";
|
||||
var q = "22";
|
||||
if (req.query.q) q = req.query.q;
|
||||
|
||||
if (req.query.f) {
|
||||
var format = "mp3";
|
||||
}
|
||||
|
||||
var fetching = await fetcher(v);
|
||||
|
||||
const json = fetching.video.Player;
|
||||
|
@ -133,6 +135,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
.then((json) => JSON.parse(json));
|
||||
|
||||
res.json(f);
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue