Skip to content

Improve Error message when trying to retrieve transcript for a age restricted video #111

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

Closed
jdepoix opened this issue Apr 25, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@jdepoix
Copy link
Owner

jdepoix commented Apr 25, 2021

As mentioned in #110, attempting to retrieve an age restricted video (without using cookies) currently raises an TranscriptsDisabled exception. We should introduce a specific exception for this case to make it more clear to the user what the actual error is.

@jdepoix jdepoix added the enhancement New feature or request label Apr 25, 2021
@jdepoix jdepoix self-assigned this Apr 25, 2021
@i-m-karanagarwal
Copy link

Hy, I would like to work on this issue. Is this still open?

@jdepoix
Copy link
Owner Author

jdepoix commented Oct 7, 2022

Hi @i-m-karanagarwal,
while this issue is still open and contributions are very much welcome, maybe have a look at #110 before getting started. @xenova and @crhowell have already done some digging which indicated that it might be possible to retrieve age-restricted videos without using cookies. So working on that might be the best use of your time! 😊

@jdepoix
Copy link
Owner Author

jdepoix commented Mar 11, 2025

I have just release v1.0.0, which adds a AgeRestricted exception, which is raised in these cases.

@jdepoix jdepoix closed this as completed Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants