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: 5 days ago
JSON representation
🎞️ Get correct Youtube video titles with YOURLS
- Host: GitHub
- URL: https://github.com/ozh/fix-youtube-titles
- Owner: ozh
- License: mit
- Created: 2021-05-29T11:50:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-24T11:12:15.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T18:06:16.430Z (5 days ago)
- Topics: yourls, yourls-plugin, youtube
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Fix Youtube titles - Get correct video title, not "`Before you continue to YouTube`" (Plugins / F)
README
# Fix Youtube titles [](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.