-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
videoDetails is missing author metadata #347
Comments
Do you happen to be running your code outside of the US? If so, I suspect it might be related to this since I'm also experiencing the same issue where the author property always returns "unknown" while running the code from a server in Germany: |
Yep, running code outside US 😞 I have a VPN so I can try running within it to see if there is a difference. Not a long term solution but good to know there could be a temporary fix. BTW, previous version of pytubefix was working like a charm. |
Thanks for confirming! I suspected that was the issue. And yes, previous versions were working for me to but I lost track which one was the last working one. The data is all there, just in a different format than expected. I had written a solution for the "date posted" property but it was never used (#138 (comment)). I think something like this will need to be implemented for each property. Would be simple enough imo. |
Describe the bug
video.vid_info.get("videoDetails") data structure is missing the "author" metadata.
code that was used that resulted in the bug
Expected behavior
The
video.author
property should contain the Youtube author instead ofunknown
Screenshots
Desktop (please complete the following information):
Additional context
pytubefix was working fine in previous versions where the author metadata was different than
unknown
The text was updated successfully, but these errors were encountered: