talmobi / yt-search

100 stars 33 forks source link

Seconds returning wrong #49

Closed ghost closed 3 years ago

ghost commented 3 years ago

The library has a bug, when I get a video by id and it has 0 minutes, it returns the wrong seconds. For example: the video is 12 hours, 0 minutes, 1 second (12:00:01), it will return 720 seconds.

talmobi commented 3 years ago

Hello there~

Thanks for the report.

This should now be fixed in 2.7.4

npm install yt-search@2.7.4