SMAPPNYU / youtube-data-api

A Python Client for collect and parse public data from the Youtube Data API
https://youtube-data-api.readthedocs.io/en/latest/index.html
MIT License
79 stars 31 forks source link

`get_channel_metadata()` does not handle lists where single element has error #7

Closed mabrownnyu closed 5 years ago

yinleon commented 5 years ago

Does this mean when one element of an entry is invalid, the entire call fails?

yinleon commented 5 years ago

Be sure to post a traceback of the error next time!

mabrownnyu commented 5 years ago

Yes, the entire call fails, and I forgot to copy the traceback (this was more of a note for myself) so I'll make sure I do that next time

yinleon commented 5 years ago

Do you have the input of channel IDs? The get_video_metadata funciton also fails when an ID has an unexpected character (from parsing).

yinleon commented 5 years ago

Working on a workaround!