YouTube Title formatted for filename

reformats the titles of YouTube videos to be windows filename compatible on click.

Από την 19/06/2020. Δείτε την τελευταία έκδοση.

Δημιουργός
S M
Βαθμολογίες
0 0 0
Έκδοση
0.15
Δημιουργήθηκε την
30/04/2020
Ενημερώθηκε την
19/06/2020
Μέγεθος
8 KB
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

A very simple script. This grabs youtube video titles and removes common windows filename scheme incompatible characters. It can also be run on the description of the video in case the filename exists there instead.

It also removes some probably compatible characters because I couldn't be bothered to check each of these.

It is not automatic as lags on youtube loading titles can break automatic versions of this script. Instead 2 buttons are created above the description.

This does not use a regex to remove non alpha-numeric characters as I didn't want to deal with non-english language characters.

Characters removed = &,| ,|| ,? ,! ,@ ,.,',`,/,\,:,;,*,^,%,$,#,+,_,’,→,」 ,「 ,} ,{ ,ー ,/ ,『 ,』 ,!,,,【,】


It may require reloading the youtube page as this sometimes fails the first time a page loads or if you wait too long before running it.


Usage:

1. Click appropriate button to reformat title or description for windows. These are right above the video title.

Errors:
1. Reload the page as this often fails the first time a page loads (due to how youtube generates pages) or if you wait more than a few minutes before clicking
a. This can result in it not working
b. This can result in the title turning blank until reload