YouTube Title formatted for filename

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

La data de 10-06-2020. Vezi ultima versiune.

Autor
S M
Rating-uri
0 0 0
Versiune
0.13
Creat
30-04-2020
Actualizat
10-06-2020
Size
6,23 KB
Licență
N/A
Se aplică pe

A very simple script. This grabs youtube video titles on click and removes common windows filename scheme incompatible characters. 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.

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 youtube video title to reformat it for windows
2. Click "UP Next"to apply same change to the description. (If the name you need is listed there)

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