Invidious: Include title of video in URL

Created on 20 Nov 2020  路  6Comments  路  Source: iv-org/invidious

URLs should be designed as user / human interface.
I have always been surprised that YouTube URLs do not tell anything about what you are going to see.
One should support titles included in URLs like articles for journals do.

Proposal : a conservative approach, being backward compatible with previous URLs, adding an optional title part.

Here is a proposal 馃憤

  • domain.tld/watch?v=XXXXXX (still supported)
  • domain.tld/v/XXXXXXX/ricky-astley-never-gona-give-you-up (shown by default, title is checked to be valid)

The title could be truncated to keep reasonable URL length

enhancement low frontend

Most helpful comment

cool idea, would be very useful
also goes against the idea of "link shorteners" which try to reduce letters so "large" datasets load faster.

but if this were created then also make:

domain.tld/v/XXXXXXX/

a shortcut that still works

another problem is a TON of videos use titles which are unicode instead of standard UTF-8/ISO-8859 encoding
so the syntax would have to ___ blank or 0 those letters in a title
because lets be real, no one wants to see a url with &%2F style reformatting spammed a hundred times when characters are replaced

All 6 comments

How would we rick roll people?

Pretty cool idea.

cool idea, would be very useful
also goes against the idea of "link shorteners" which try to reduce letters so "large" datasets load faster.

but if this were created then also make:

domain.tld/v/XXXXXXX/

a shortcut that still works

another problem is a TON of videos use titles which are unicode instead of standard UTF-8/ISO-8859 encoding
so the syntax would have to ___ blank or 0 those letters in a title
because lets be real, no one wants to see a url with &%2F style reformatting spammed a hundred times when characters are replaced

Glad you like it !
I agree for the encoding (even if modern browsers can deal with it almost transparently) :
URLs are human interfaces and should be designed as such.

I can see your point, but that would result in a ridiculously long url sometimes.

@nathgit So? It's would be optional.

Was this page helpful?
0 / 5 - 0 ratings