Skip to content

A YOURLS plugin to fetch YouTube page titles via the Google API

License

Notifications You must be signed in to change notification settings

joshp23/YOURLS-YouTube-title-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

YOURLS-YouTube-title-fix

A YOURLS plugin to fetch YouTube page titles via the Google API

Why?

YouTube titles are broken in YOURLS, only displaying a naked url. This can be corrected by fetching the page title via the Google API.

Requirements

  • A Google API key
  • YOURLS 1.7.9 ( only tested against this version )

Installation

  • Download this repo and place youtube-title-fix into user/plugins/
  • Enable the plugin in the admin area of YOURLS
  • Set API key in YouTube API Admin page

Note

  • Limit the API key credential to the IP address of your YOURLS server to avoid abuse. Other limiting methods seemed to result in failure.
  • Use with Title Refetch to fix broken YouTube titles that already exist in the YOURLS database

Tips

Dogecoin: DARhgg9q3HAWYZuN95DKnFonADrSWUimy3

License

Copyright 2020 Joshua Panter

About

A YOURLS plugin to fetch YouTube page titles via the Google API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages