Last active
November 2, 2019 23:17
-
-
Save mrladeia/122ce91e7d684a693563de857013b699 to your computer and use it in GitHub Desktop.
get links youtube by playlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Playlist = ((Invoke-WebRequest "https://www.youtube.com/watch?v=XXXXXXX&list=XXXXXXXXXXXXXXXXXX&index=1").Links | Where {$_.class -match "playlist-video"}).href | |
ForEach ($Video in $Playlist) { | |
Write-Output ("https://www.youtube.com" + $Video) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment