meeb / tubesync

Syncs YouTube channels and playlists to a locally hosted media server
GNU Affero General Public License v3.0
1.98k stars 129 forks source link

Videos with youtube confirmation of viewer discretion. #547

Open IgorRichard13 opened 1 month ago

IgorRichard13 commented 1 month ago

Example: https://www.youtube.com/watch?v=nTKU21xwWWM

Output: Media cannot be downloaded because it has no formats which match the source requirements.

How to bypass this type of restriction in tubesync? The video is online and normal, but youtube have this confirmation button before watch on the website, and tubesync cannot bypass it.

meeb commented 1 month ago

yt-dlp (which TubeSync is a wrapper for) can't bypass authwalled media. You can either skip them, or you can pass your cookies into TubeSync which is authenticating yt-dlp with your Google account to allow access to the media (with all of the security and account risks that go along with that):

https://github.com/meeb/tubesync/blob/main/docs/using-cookies.md