Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ozh/fix-youtube-titles

🎞️ Get correct Youtube video titles with YOURLS
https://github.com/ozh/fix-youtube-titles

yourls yourls-plugin youtube

Last synced: 23 days ago
JSON representation

🎞️ Get correct Youtube video titles with YOURLS

Lists

README

        

# Fix Youtube titles [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)

*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](https://yourls.org) `1.8.1` and above.

## Installation

1. In `/user/plugins`, create a new folder named `fix-youtube-titles` or something like this
2. Drop these files in that directory.
3. Go to the Plugins administration page (eg. `http://sho.rt/admin/plugins.php`) and activate the plugin.
4. Have fun!

## License

Do what the hell you want with it.

## Why is this needed?

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.