Closed fsholehan closed 2 months ago
exports.audioOnly = async (req, res) => { const { videoId } = req.query; let info = await distube.getInfo(videoId, { agent }); let audioFormats = distube.filterFormats(info.formats, "audioonly"); res.json(audioFormats); };
exports.audioOnly = async (req, res) => { const { videoId } = req.query; let info = await distube.getInfo(videoId, { agent }); let audioFormats = distube.filterFormats(info.formats, "audioonly"); res.json(audioFormats); };
Is there a problem with URLs using audio codecs other than opus? Also, does the Agent use a proxy?
Yes, all audio URLs with codecs other than Opus are getting a 403 status.
No, i dont use proxy.
If the environment in which you want to run it is a server, we recommend using a proxy, but not if it is local, as it will time out. Deploying to Glitch or elsewhere is recommended.
Oke i will try it
If the environment in which you want to run it is a server, we recommend using a proxy, but not if it is local, as it will time out. Deploying to Glitch or elsewhere is recommended.
I add proxy and its work, thank you
You're welcome :)
But, its take time too long ;(
You're welcome :)
But, its take time too long ;(
Can you tell me the IP address of your proxy? I am using 152.26.229.66:9443.
I'm using proxy same as you
curl --location 'https://api.phuongmychi.vn/v3/video-stream?id=11JI_2dQZqU' \
--header 'accept: application/json, text/plain, */*' \
--header 'accept-language: vi,en;q=0.9,vi-VN;q=0.8,fr-FR;q=0.7,fr;q=0.6,en-US;q=0.5' \
--header 'author: phuongmychimusic' \
--header 'origin: https://phuongmychi.vn'
I'm using proxy same as you
Yesterday I tested the publicly available proxy IP list and got the following working IP addresses. Try it out.
- 152.26.229.42:9443
- 152.26.229.66:9443
- 152.26.229.86:9443
- 152.26.229.88:9443
- 152.26.231.42:9443
- 152.26.231.77:9443
- 152.26.231.86:9443
- 177.234.241.25:999 (unstable)
- 177.234.241.26:999 (unstable)
- 177.234.241.27:999 (unstable)
- 177.234.241.30:999 (unstable)
Ok, thank you :)
curl --location 'https://api.phuongmychi.vn/v3/video-stream?id=11JI_2dQZqU' \ --header 'accept: application/json, text/plain, */*' \ --header 'accept-language: vi,en;q=0.9,vi-VN;q=0.8,fr-FR;q=0.7,fr;q=0.6,en-US;q=0.5' \ --header 'author: phuongmychimusic' \ --header 'origin: https://phuongmychi.vn'
The link expired, can you give the new link?
From this API: https://api.phuongmychi.vn/v3/video-stream?id=11JI_2dQZqU
Its working fine
In version 4.3.7, the audio URL was working perfectly. However, in the latest version (4.14.4), it initially works, but then it intermittently either works or returns a 403 error. Has there been any update related to this?
Environment