Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1011 Bytes

File metadata and controls

27 lines (17 loc) · 1011 Bytes

Rename-URL-Deconding-File

If you downoad videos from Youtube, all file names will have URL code. So I created python3 program to raname all these files in directory to make easy in my life.

Running

After git clone, go to program directory and edit an important variable to start the program path in RenameURLDecodeFile.py.

path: variable where you set the directory where you downloaded from Youtube. Just copy the directory and set it.

Then, in the program directory, executing the RenameURLDecodeFile.pyfrom terminal.

$ python RenameURLDecodeFile.py

Notes

I created in Ubuntu 19.04 and also Ubutu 18.04 OS.

To use Rename URL decode, I imported os and urllib.parse. I found some decode problens in urlib.parse.unquote that can't convert some code and will show errors during running. To resolve, you need edit yourself

ASCII Encoding Reference not possible convert

Character From UTF-8
* %2A
/ %2F
" %22
? %3F