can't get video with audio
Closed this issue · 3 comments
https://www.youtube.com/watch?v=NbXSj2WT6nw
https://m.youtube.com/watch?v=NbXSj2WT6nw
example address
all addresses have this problem.
I get an array of links and print
includesVideoTrack = true ==== includesAudioTrack false format mp4
includesVideoTrack = true ==== includesAudioTrack false format webm
includesVideoTrack = true ==== includesAudioTrack false format mp4
includesVideoTrack = true ==== includesAudioTrack false format webm
includesVideoTrack = true ==== includesAudioTrack false format mp4
includesVideoTrack = true ==== includesAudioTrack false format webm
includesVideoTrack = true ==== includesAudioTrack false format mp4
includesVideoTrack = true ==== includesAudioTrack false format webm
includesVideoTrack = true ==== includesAudioTrack false format mp4
includesVideoTrack = true ==== includesAudioTrack false format webm
includesVideoTrack = false ==== includesAudioTrack true format mp4
includesVideoTrack = false ==== includesAudioTrack true format mp4
there are links only with video or only with audio
missing together
requests used different, no filters applied
let video = YouTube(url: videoURL)
let video = YouTube(videoID: videoID)
the problem was like this:
class InnerTube
init(client: ClientType = .ios, useOAuth: Bool = false, allowCache: Bool = true)
links with video and audio began to come
init(client: ClientType = .web, useOAuth: Bool = false, allowCache: Bool = true) {
but very few links, only two
Hey, I've recently made numerous changes to the entire process. Could you please retry your code with the latest commit in the main branch? I would appreciate some feedback before releasing a new version.
I'm sorry
I had a lot of work.
new version works great!!!
Thank you!
best regards