youtube music piracy guide






Fuck youtube and spotify


Personal rant incoming feel free to skip.

I am so fucking sick of having to deal with
adverts in the middle of listening to music.
it used to be when I was like twelve I would go
to the library, grab like 7 cds and burn them to my`
mp3 player, and I fucking owned my music.
Not only that, but I would end up actually discovering
some pretty unique tracks that you wouldn't normally with
spotify. Spotify ususally concentrates user attention towards
the top tracks of an artist, but by listening to the entire album
you are exposed to tracks that might stir something deep within you.


whatever, here is how to totally own the bigwigs up in the sky


Two methods exist


you heard me, theres two of them. One is with a widely used
and beloved software called youtube dl, which I have just recently
switched to, and the other one is a little home brew solution that I
myself cooked up with the use of auto hot key. Lets break down the pros
and cons of method shall we

pros cons
youtube dl It has a pretty big community, so that makes it somewhat safe
- Works very well, 100% success rate,

-Organizes your music automatically into folders
Haven't tried it yet but I dont think it supports youtube mixes yet.
it might dont take my word on this
My method -You know exactly what is going on since
you can read the source code yourself, aka a little safer

-Also, uh if youtube dl goes offline you have a nice little
backup so theres that.
it can be a little dogshit, not going to lie.
This method has like a 74%-80% success rate The only reason why I am posting it
is since I am a little proud of my work

Alright enough jerking around, lets get to it.


YOUTUBE DL!!


I can feel my motivation to write any of this waning by the
minute, so I just zipped the whole software package and uploaded it.
You can download it here.

just click the download button to the right of the file

As always a good little netizen and always scan any random and mysterious
download from the internet with windows defender, best practices.


How to work it


Uhh there should be a text file called playlists in there,
you plop all of the links to the youtube playlists you want to download in
that file. Then from there, you go to the text file called commands,
and copy the first command in that file. From there, open a cmd window
in the main directory, run the command and thats it bro.


Auto hotkey method


Okay so to set this one up, you want to have a window with all of the youtube
playlists set up in a separate tab each. Then create a new desktop window directly
to the right of the youtube one. then, from there in that desktop open a few tabs
of this website . I suggest having four of them.
The way this code works is that it grabs the url from the youtube playbar, it switches
to the next desktop where the song converter is, it pastes the url into the url field,
then it moves to the convert button and clicks. Then it switches back to the youtube url,
and then hits the next song arrow.

you will need to configure how many songs it downloads from each playlist, and how many
playlists it will download each time you run the software. Also you need to configure
where on the screen it clicks for each action for your own monitor setup, since I've
got a super wide monitor that isn't widely used.


told you it kinda sucks. Idk I just want to post this I think its a little neat.
Anyway, the code is below:


The ahk script:


  

    



; auto youtube downloader  secondary laptop version 

; PREASSUMPTIONS:  FUCKING READ ME OR YOU WILL HAVE A BAD TIME

;1. you have two desktops open, left desktop contains a youtube playlist with all of the songs you want to download.  

;2. On the right desktop, you have multiple copies of the following link open. https://cnvmp3.com/v51
;	I recommend 8 copies of the link since this program refreshes the youtube to mp3 website when 
;       a new download occurs. there should be 8 or more so that each copy can process each song and 
; 	have enough time to download the track. The success of this program depends on the 
;       internet connection it is using. 




	


;3. the number next to loop contains the number of songs to download. if not the program will run infinitely and flood your 
; downloads with whatever youtube auto recommends. 

;3. the number next to loop contains the number of songs to download. if not the program will run infinitely and flood your 
; downloads with whatever youtube auto recommends. 

;3. the number next to loop contains the number of songs to download. if not the program will run infinitely and flood your 
; downloads with whatever youtube auto recommends. 

;3. the number next to loop contains the number of songs to download. if not the program will run infinitely and flood your 
; downloads with whatever youtube auto recommends. 

^!+b::

;Ctrl + Alt + Shift + t


;!!!!!!!!!!!!!!!!!!!!!! FIRST LOOP CONTROLS HOW MANY PLAYLISTS WILL BE DOWNLOADED. IT IS ASSUMED THAT OTHER 
;!!!!!!!!!!!!!!!!!!!!!! DESIRED PLAYLISTS ARE IN OTHER TABS WITHIN THE THE SAME BROWSER INSTANCE.
;!!!!!!!!!!!!!!!!!!!!!! SECOND LOOP CONTROLS HOW MANY SONGS OUT OF PLAYLIST TO DOWNLOAD. 


Loop, 11
{
Loop, 57
{

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CURRENTLY ON YOUTUBE PAGE

sleep, 1501
MouseMove, 274, 72  ; 				move to url

sleep, 1501
Click, left ; left click 


;added extra time since this fails sometimes. 

sleep, 1501
sleep, 1501
Send, ^c    ; copy url 

sleep, 1501
;Send, !{Tab}  ; alt tab 
Send, ^#{Right}







if GetKeyState("g", "P")  ; "P" = physical state (is it held down?)
{
    MsgBox, 64, Key Held, NOW STOPPING PROGRAM

Break
}






;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CURRENTLY ON YOUTUBE TO MP3


sleep, 1501
Send, {F5}   ; reload page


sleep, 1501
MouseMove, 1457, 564  ; 				move to url

sleep, 1501
Click, left ; left click 

sleep, 1501 
Send, ^v       ; paste 


sleep, 1501
MouseMove, 2059, 561  ; 			press convert

sleep, 1501
Click, left ; left click 


sleep, 1501
Send, ^{Tab}  ; switch to other youtube converter to ensure current download can finish. 


sleep, 1501
;Send, !{Tab}  ; alt tab 

Send, ^#{Left}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CURRENTLY ON YOUTUBE PAGE


sleep, 1501
MouseMove, 1346, 1398  ; 	 		Move to neutral location

sleep, 1501
Click, left ; left click 		

;added extra time, because sometimes 
;youtube will just randomly 
; skip to a different vid, which I have
; No idea why it does that. 



;sleep, 1501
;this is the old method, is subject to randomly skipping outside of playlist. 
;Send, +n




sleep, 1501
MouseMove, 722, 1326  ; 	 		Move to next song button.

sleep, 1501
Click, left ; left click 





if GetKeyState("g", "P")  ; "P" = physical state (is it held down?)
{
    MsgBox, 64, Key Held, NOW STOPPING PROGRAM

Break
}

}



;switch tabs.
sleep, 1501
Send, ^{Tab}  ; switch to other youtube playlist.

}

return