-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
xml.etree.ElementTree.ParseError: no element found: line 1, column 0 #320
Comments
Hi @KarenPHS, I cannot replicate that error. Does that happen for every video or only |
No, I tried. But it happened at least once when I downloaded captions from videos.
|
So it doesn't happen consistently for |
Hello, I have the same problem. For around 200 videos, I catch this error around 3-5 times every time, never the same ids. I use Python 3.10.14 and youtube-transcript-api 0.6.2 (downloaded with pip). |
Yes, it randomly happened, but more than once. |
I got the same issue using Python 3.11.3 using youtube-transcript-api 0.6.2. And also note that happens randomly, when I retried it ended up working. ERROR:root:no element found: line 1, column 0, 3q67v12M31M |
I am also experiencing the same issue with video "sHnqCqG54Sw" along with others intermittently. |
DO NOT DELETE THIS! Please take the time to fill this out properly. I am not able to help you if I do not know what you are executing and what error messages you are getting. If you are having problems with a specific video make sure to include the video id.
To Reproduce
Steps to reproduce the behavior:
What code / cli command are you executing?
For example: I am running
Which Python version are you using?
Python 3.6.4
Which version of youtube-transcript-api are you using?
youtube-transcript-api 0.6.2
Expected behavior
Describe what you expected to happen.
For example: I expected to receive the english transcript
Actual behaviour
Describe what is happening instead of the Expected behavior. Add error messages if there are any.
For example: Instead I received the following error message:
The text was updated successfully, but these errors were encountered: