MaxGfeller / youtube-search

npm module to easily search youtube for videos
114 stars 40 forks source link

Add durations to search results #51

Open ottomated opened 5 years ago

ottomated commented 5 years ago

This uses the youtube API to get the duration of each video returned from the search results. Could possibly be added as a seperate option due to additional request overhead.

MaxGfeller commented 5 years ago

This is a great idea, actually. And there is much more than just the duration that could be returned from that additional call.

However, i'm not sure if it belongs in here or not. If yes then definitely only when a separate option is set. Or maybe in an additional method.

I would love to hear some opinions on this.

ruffy0002 commented 3 years ago

This PR looks great! Currently looking for this functionality

Agree with the separate option to be set for it.

If this thread is still alive, I could fork ottomated's version to raise another PR to add the separate option for this