-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution to all problems related to Age Restricted 2024 and also bypasses The 'datastreaming' error. #1930
Comments
Thank you for contributing to PyTube. Please remember to reference Contributing.md |
Better logic method implemented |
the full version has an extra > at the end causing problems |
also didn't work Clients List: ['ANDROID_EMBED', 'IOS', 'ANDROID', 'WEB_EMBED', 'ANDROID_EMBED', 'IOS_EMBED', 'WEB_MUSIC', 'IOS_MUSIC', 'WEB_CREATOR', 'ANDROID_CREATOR', 'IOS_CREATOR', 'MWEB', 'TV_EMBED', 'WEB']
|
and if i set client to android it fails the age check |
Solution to all problems related to Age Restricted 2024 and also bypasses The 'datastreaming' error.
(If it downloads video without sound, can download them separately and then merge them with the 'Moviepy' library)>
Here is a solution after brainstorming:
In main.py File I just combined all the clients by string.
This way it will be able to download with an adjusted resolution and data stream and also bypasses The 'datastreaming' error.
Get the result that needs to be changed
The function "def bypass_age_gate(self):"
Change it all as follows:
The full Code here for better convenience:
All rights reserved by LutziGoz.
Originally posted by @LutziGoz in #1712 (comment)
The text was updated successfully, but these errors were encountered: