mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.07k stars 645 forks source link

Fix issue #1101: ValueError raises when view video information #1102

Closed poyenc closed 4 years ago

poyenc commented 4 years ago

The video_info() employs strptime() to parse date string, but it cannot handle the ISO 8601 time zone designator at the end of string. For now we assume there is always a 'Z' time zone designator thus add 'Z' in the strptime() format string.

fix issue: #1101

tommysolsen commented 4 years ago

Thank you for your contribution.