ios -> android
This commit is contained in:
parent
ed45d27a5f
commit
bab9a0ad4c
2
index.js
2
index.js
|
@ -122,7 +122,7 @@ app.get('/videos/:id', async (req, res) => {
|
||||||
|
|
||||||
app.ws('/download/:id/:quality', async (ws, req) => {
|
app.ws('/download/:id/:quality', async (ws, req) => {
|
||||||
const yt = await Innertube.create();
|
const yt = await Innertube.create();
|
||||||
const info = await yt.getInfo(req.params.id, 'iOS');
|
const info = await yt.getInfo(req.params.id, 'ANDROID');
|
||||||
|
|
||||||
const videoOptions = {
|
const videoOptions = {
|
||||||
format: 'mp4',
|
format: 'mp4',
|
||||||
|
|
Loading…
Reference in New Issue