Without this plugin, shortening a Youtube URL returns an incorrect title: Before you continue to YouTube (read why below)
With this plugin, you get the correct title, ie Backyard Squirrel Maze 1.0- Ninja Warrior Course - YouTube
Tested with YOURLS 1.8.1
and above.
- In
/user/plugins
, create a new folder namedfix-youtube-titles
or something like this - Drop these files in that directory.
- Go to the Plugins administration page (eg.
http://sho.rt/admin/plugins.php
) and activate the plugin. - Have fun!
Do what the hell you want with it.
Youtube redirects every unknown user to a page where they need to accept their darn cookies:
Your YOURLS instance is such an unknown user to Google, since it has no Youtube cookie. This plugin tricks Youtube and makes it think it has one.
๐ช FTW.