Advertisement
Guest User

Updated youtube-dl Account Archiving Tutorial

a guest
Nov 10th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. Archiving Full YouTube Accounts--A youtube-dl Tutorial For PC Users (Mostly Installation-Wise) (UPDATED)
  2.  
  3. ---
  4. GUI (i.e., you can see what you're doing easier):
  5. 1. Download youtube-DLG: https://my.mixtape.moe/awcfkw.zip
  6. 2. Set up the program and then run it.
  7. 3. Copy+paste URLs into the "URLS" field. This also works for YouTube accounts.
  8.  
  9. Additional:
  10. 1. You can change the directory by going to Options->General.
  11. 2. To also download the metadata, check everything under Options->Filesystem. I prefer that you do download the metadata as well, like strongly.
  12.  
  13. Uploading:
  14.  
  15. 1. To mirror YouTube accounts, I use the spacious Internet Archive. Head to the link http://archive.org/upload/ to upload the files.
  16. 2. Either drag and drop the files or select them by clicking the link's "Choose files to upload" button.
  17. 3. Give an appropriate title and url identifier. My convention for the title is "YouTube Account: CHANNELNAME" and for the Page URL "yt-CHANNELNAME".
  18. 4. Add a description and preferably link to the original channel.
  19. 5. Add subject tags. I recommend "youtube" and "ytisevil" tags, which I use for every upload.
  20. 6. Click the blue button at the bottom of the page "Upload and create your item".
  21. 7. Wait for it to finish. The upload length will vary based on your connection speed and size of the file(s).
  22.  
  23. ----
  24. Command Prompt (harder method):
  25. Setup:
  26.  
  27. 1. Download the latest version of youtube-dl here: http://youtube-dl.org/ .
  28. 2. Create a certain folder for it (like ytdl). You will also need ffmpeg.exe (download link; I promise there's no viruses; check the site Virustotal for proof: https://my.mixtape.moe/hinbin.zip). This is to merge high quality YouTube videos (e.g. 480p) with audio.
  29. 3. Put ffmpeg.exe in the same directory as youtube-dl.exe
  30.  
  31. Usage:
  32.  
  33. 1. Go to the directory in which the files are using the Command Prompt.
  34. 2. Type this in to download a YouTube channel with metadata: youtube-dl -t --console-title --call-home --title --continue --retries 4 --write-info-json --write-description --write-thumbnail --write-annotations -f bestvideo+bestaudio CHANNELURL
  35. 3. Wait for it to finish.
  36.  
  37. Uploading:
  38.  
  39. 1. To mirror YouTube accounts, I use the spacious Internet Archive. Head to the link http://archive.org/upload/ to upload the files.
  40. 2. Either drag and drop the files or select them by clicking the link's "Choose files to upload" button.
  41. 3. Give an appropriate title and url identifier. My convention for the title is "YouTube Account: CHANNELNAME" and for the Page URL "yt-CHANNELNAME".
  42. 4. Add a description and preferably link to the original channel.
  43. 5. Add subject tags. I recommend "youtube" and "ytisevil" tags, which I use for every upload.
  44. 6. Click the blue button at the bottom of the page "Upload and create your item".
  45. 7. Wait for it to finish. The upload length will vary based on your connection speed and size of the file(s).
  46.  
  47. Notes:
  48. 1. Unfortunately, if an account has a video no longer available because of copyright, the program will terminate. Because YouTube is YouTube, this is common. :( If this happens, then highlight all of the urls of the uploader's videos under their account's "Videos" and, with the Firefox extension "Copy All Links" (link: https://addons.mozilla.org/en-us/firefox/addon/copy-links/), select the option "Copy Selected Links".
  49. 1.1. Afterward, go to this link to alphabetize the list of URLs you selected: http://www.textfixer.com/tools/alphabetize-text-words.php . I only select the option "Use a line break separator" and uncheck "Remove Punctuation, and Brackets".
  50. 1.2. One it finishes, copy the output into a text file, which should be in the same directory as youtube-dl.exe. Remove any video without a youtube.com/watch?v= in the url.
  51. 1.3. Then, use this command to download the links from the text file:
  52.  
  53. youtube-dl -t --console-title --call-home --title --continue --retries 4 --write-info-json --write-description --write-thumbnail --write-annotations -f bestvideo+bestaudio --batch-file=FILENAME
  54.  
  55. 1.4. If you encounter the error of "This video is not available in your country", then you'll have to unfortunately remove the link to the video in the text file. You can find it by looking at the identifier in the command prompt (which will follow the text [youtube] (in square brackets) but precede the colon (:). This is what you will see while a video tries to download: "[youtube] MKk1m3Lf--w:".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement