omnivore-app / omnivore

Omnivore is a complete, open source read-it-later solution for people who like reading.
https://omnivore.app
GNU Affero General Public License v3.0
13.6k stars 879 forks source link

Use video duration for estimating reading time #2896

Open bomberstudios opened 1 year ago

bomberstudios commented 1 year ago

When saving a link to a page with a video to watch it later, it would be super nice if Omnivore used the duration of the video to estimate the reading time (at least on pages where there’s clearly not a lot to read, like Vimeo or YouTube).

At the moment, I assume Omnivore takes into account the text surrounding the video itself, and seems to give an estimate of “1 min read” for most of the videos I’ve saved. In this example, the video is around 18 minutes:

SCR-20231009-mjsk
jacksonh commented 1 year ago

Thanks @bomberstudios we will probably split this one up into separate pieces for youtube and vimeo. I know it shouldn't be a problem using the youtube data we get, but I haven't looked at vimeo APIs yet.

bomberstudios commented 1 year ago

Thanks for taking a look! 🙌🏼