everything I see here on this topic is 5 years or more old. Running ubuntu 18.04 and youtube.lua does not exist when I run the parser to update it. I had downloaded 3 videos and then vlc stopped playing or downloading
hines@hines-Vostro-260:~$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.58.0-2ubuntu3.8).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
hines@hines-Vostro-260:~$ sudo rm /usr/lib/vlc/lua/playlist/youtube
rm: cannot remove '/usr/lib/vlc/lua/playlist/youtube': No such file or directory
hines@hines-Vostro-260:~$ sudo curl "http://git.videolan.org/p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD" -o /usr/lib/vlc/lua/playlist/youtube.lua
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file /usr/lib/vlc/lua/playlist/youtube.lua: No
Warning: such file or directory
100 153 100 153 0 0 320 0 --:--:-- --:--:-- --:--:-- 320
curl: (23) Failed writing body (0 != 153)