The easiest way I could think getting expired videos to work didn't work: function probe() return vlc.access == "http" and string.match( vlc.path, "youtube.com/get_video%?" ) end function parse() if string.match( vlc.path, "[?&]video_id=([^&]+)" ) then video_id ...