openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
52 stars 29 forks source link

Fixed #76: filter out videos without channel #81

Closed rgaudin closed 4 years ago

rgaudin commented 4 years ago

Although unlikely, should we get a video without a channel (no entry for the videoId in the videos_channels JSON), process would crash when writing the HTML page (at the very end of the task). Instead, we filter out those videos.

@satyamtg could you please take a look at this? Followed your diagnostic and suggestion on #76. Should not happen but should it, let's skip it.