A3M4 / YouTube-Report

:bar_chart: Generate a personal YouTube report from your Google Takeout data
MIT License
643 stars 61 forks source link

Add error handling for missing/empty data files #3

Closed arpreq closed 4 years ago

arpreq commented 4 years ago

Unhandled exceptions get thrown in parse.py when a data file can't be found (on lines 19-21) and when a data file is empty (including, but not limited to, lines 78 & 88).

My Youtube data didn't have the my-comments file, or the likes playlist.

A3M4 commented 4 years ago

I fixed it with ee75532. Could you check if it works for you now?

arpreq commented 4 years ago

Works great for my specific case. Thanks!