@@ -0,0 +1,645 @@
+import java.io.*;%0Apublic class auto_update%0A%7B%0Apublic static void main(String args%5B%5D) throws IOException %0A%7B%0A   %0A     System.out.println(%22 testing youtube%22);%0A%0AString s1;%0A String cmd=%22youtube-dl --version%22;%0A        java.util.Scanner s = new java.util.Scanner(Runtime.getRuntime().exec(cmd ).getInputStream()).useDelimiter(%22%5C%5CA%22);%0A          s1=s.hasNext() ? s.next() : %22%22;%0A      if(s1.equals(%222016.11.02%22))%0A      %7B%0A           System.out.println(%22you have the latest youtube-dl%22);%0A        %7D%0A     else%0A     %7B%0A         %0A       System.out.println(s1+%22 updating it %22);%0A        cmd=%22youtube-dl -U%22;%0A%0A          s1=s.hasNext() ? s.next() : %22%22;%0A    %7D%0A    %7D%0A%7D%0A

Create auto_update.java