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: 3 months 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-24T11:12:15.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:15:17.819Z (5 months ago)
- Topics: yourls, yourls-plugin, youtube
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 5
- 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 [![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.