For example, my YouTube channel (himself0890) User ID is:
So, my avatar url could be:
https://i3.ytimg.com/i/zRJMLe36PT0Q2mhlmbU2OQ/1.jpg or it could be
I had the issue in Python when retrieving the User ID from the newsubscriptionvideos feed…
So, I recently ran into the problem where YouTube doesn’t return the author’s profile picture in their feed (specifically the newsubscriptionvideos feed).
After checking out some of the XML they gave me back, I noticed that if I hit their newsubscriptionvideos v2 API, the Author element contains the “ns1:userId” tag.
If you have any questions on how to parse this tag for the user ID in Python, feel free to drop a comment and I’ll help you out.