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
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 28 (char 27) #815
Comments
Thank you for contributing to PyTube. Please remember to reference Contributing.md |
hi @terry-tong we're actually working to try to resolve this issue right now! There's a number of videos where we've seen this issue, so myself and a-czyrny have been working on a fix for it. There's a pull request right now that's trying to fix the problem, and it seems to be working, once I hear back from the other person, it should be merged pretty quickly. If you're interested in trying out this experimental branch, I believe you should be able to install it with the following command in pycharm's terminal window: Otherwise, we'll hopefully have the fixes in the main repository in the next couple days, and I'm hoping that we'll have something new pushed to pypi (so you can just |
@tfdahlin Just tested out the branch and it's working great! Tried it on a sample size of about 300 videos so far and I'm not getting any issues here |
@tfdahlin The experimental branch works like a charm! Thanks for the help. Closing this issue now. |
This doesn't seem to work now. I'm attaching the output I get. |
hi @chandeepadissanayake this is because that branch has been merged into the main repo. The command you want to use now is |
just updated with the new version, still have the same problem: |
Thank you @tfdahlin for the clarification. I was installing using PyPI which may hasn't been updated yet. |
I am using AWS, sagemaker and lambda function, did modify the request.py, updated the package, none of them worked. |
@snowblinkrx if you run |
I am using : 9.7.2 |
There's your problem, you're using an outdated version of pytube. The pytube version currently available on pypi is 10.0.0, and the most recent version available from source is 10.1.0. |
updated, and yes, that worked. thanks! |
pytube 10.5.0 Traceback (most recent call last): little help? |
hi @pauloreis-ds, I just merged the fix for that problem |
My Hero! Thank You. |
Hello! Inexperienced Github & Python user here! I'm running into an issue pulling in a specific video from YouTube. I'm running Pytube 9.7.0 on PyCharm Community Edition 2020.1.4. The code is as follows:
Expect output should be:
Rick Astley - Never Gonna Give You Up (Video)
But instead, I'm getting:
The code appears to work for other videos as intended:
I don't think I have the programming experience to decipher the error traceback. Is anyone else able to replicate this issue?
The text was updated successfully, but these errors were encountered: