Age-restricted videos return no audio streams with only some cookies.
r0hin opened this issue · 5 comments
Hi,
I'm trying to access age-restricted videos such as this one with ytcog. However, on every one of my account cookies, it returns no audio streams except on my main one. I am wondering why this may be.
While it's acceptable to simply use my primary account's cookies for this, I'm worried it will influence my YouTube recommendations and watch history. Any help would be appreciated and thank you so much for making this library!!
Also- I'm happy to provide the cookies themselves via email or something if needed.
I will check this out. I have not experienced this.
I have seen no indication that using ytcog with a cookie influences recommendations and watch history (because I think the trackers that compile these are bypassed). I have noticed with extensive use I sometimes get 429'd accessing channel content directly in a browser (This channel has no videos). But no issues watching videos/playlists via browser search.
Alright perfect! Thanks for the quick reply. If it doesn't hit those trackers, then all is good. Would still like to use an alt account for it just to keep everything separate but certainly very low urgency.
Hey, noticed recently that search queries seem to be saved and logged and appear as recent searches on the YouTube mobile app.
1/ Do you know if there's any way to avoid this?
2/ Have you been able to reproduce the age restriction issue? I will do some more testing tomorrow as well.
Well, you could be right. I went to check on my YT account and I have search history turned off. I guess that's why it is not affecting me. Is that an option for you, or do you rely on your browser search history?
I still have my watched videos history on and those do not include anything I download via ytcog.
I haven't experienced any issues with missing sound. That said, I only have the one YouTube account.
Re: Age Restricted videos:
I haven't experienced any issues with missing sound. That said, I only have the one YouTube account.
When you encounter this problem, you can paste the videoStream[n].url
and audioStream[n].url
into your browser after video.fetch(). At least it can tell us if the problem is a) passing the YouTube challenges in ytcog, b) getting the sound from youtube, or c) muxing it with the video in ytcog.
I've tried my best but I can no longer reproduce the issue I was facing a couple of weeks ago- the alternate account cookie seems to work now.
When you encounter this problem, you can paste the
videoStream[n].url
andaudioStream[n].url
into your browser after video.fetch(). At least it can tell us if the problem is a) passing the YouTube challenges in ytcog, b) getting the sound from youtube, or c) muxing it with the video in ytcog.
If I remember correctly, printing video.audioStreams would just print [] if it helps. Anyhow, the search history effect is not an issue for me anymore since I can just use a different account for ytcog. Thanks for your help!