Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save MinhSonMTA/a47b7b50217a7479a06b1e3ea09b7833 to your computer and use it in GitHub Desktop.

Select an option

Save MinhSonMTA/a47b7b50217a7479a06b1e3ea09b7833 to your computer and use it in GitHub Desktop.

Revisions

  1. @ivanskodje ivanskodje revised this gist Apr 19, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@ We are going to create bash script that will store all the information we need t
    > for i in "$@";
    > do
    >
    > youtube-dl \
    > youtube-dl \
    > --username YOUR-USERNAME-HERE \
    > --password YOUR-PASSWORD-HERE \
    > "\$i" \
  2. @ivanskodje ivanskodje revised this gist Aug 19, 2018. 1 changed file with 12 additions and 12 deletions.
    24 changes: 12 additions & 12 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -72,15 +72,15 @@ We are going to create bash script that will store all the information we need t
    > do
    >
    > youtube-dl \
    > --username YOUR-USERNAME-HERE \
    > --password YOUR-PASSWORD-HERE \
    > "\$i" \
    > -o "/home/YOUR-USERNAME-HERE/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s" \
    > --sleep-interval 35 \
    > --max-sleep-interval 120 \
    > --sub-lang en \
    > --sub-format srt \
    > --write-sub
    > --username YOUR-USERNAME-HERE \
    > --password YOUR-PASSWORD-HERE \
    > "\$i" \
    > -o "/home/YOUR-USERNAME-HERE/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s" \
    > --sleep-interval 35 \
    > --max-sleep-interval 120 \
    > --sub-lang en \
    > --sub-format srt \
    > --write-sub
    >
    > done
    @@ -95,9 +95,9 @@ You can also add multiple URLs, separated by a space:
    > pluralsight-dl [URL1] [URL2] [URL3]
    If you open up a text editor (for copy/paste), you can also prepare all your URL in a similar fashion:
    > pluralsight-dl \\
    > [URL1] \\
    > [URL2] \\
    > pluralsight-dl \
    > [URL1] \
    > [URL2] \
    > [URL3]
    *URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*
  3. @ivanskodje ivanskodje revised this gist Mar 13, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ You can get it [here](https://rg3.github.io/youtube-dl/) from their official web

    ### 2. Create a bat script file
    We need to create bat script that will store all the information we need to quickly and easily download videos from pluralsight.
    Create a new text file and name it 'pluralsight.bat'. Put it in the same folder as youtube-dl.exe (from step 1).
    Create a new file and name it 'pluralsight.bat'. Put it in the same folder as youtube-dl.exe (from step 1).

    ### 3. Paste in the script in the file
    > for %%a in (%*) do (
  4. Ivan P. Skodje revised this gist May 20, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -20,10 +20,10 @@ Create a new text file and name it 'pluralsight.bat'. Put it in the same folder
    ### 3. Paste in the script in the file
    > for %%a in (%*) do (
    > .\youtube-dl.exe ^
    > --username YOU-USERNAME-HERE ^
    > --username YOUR-USERNAME-HERE ^
    > --password YOUR-PASSWORD-HERE ^
    > %%a ^
    > -o "C:/Users/Ivan Skodje/Videos/Pluralsight/%%(playlist)s/%%(chapter_number)02d - %%(chapter)s/%%(playlist_index)02d - %%(title)s.%%(ext)s" ^
    > -o "C:/Users/YOUR-USERNAME-HERE/Videos/Pluralsight/%%(playlist)s/%%(chapter_number)02d - %%(chapter)s/%%(playlist_index)02d - %%(title)s.%%(ext)s" ^
    > --sleep-interval 35 ^
    > --max-sleep-interval 120 ^
    > --sub-lang en ^
    @@ -75,7 +75,7 @@ We are going to create bash script that will store all the information we need t
    > --username YOUR-USERNAME-HERE \
    > --password YOUR-PASSWORD-HERE \
    > "\$i" \
    > -o "/home/[USER]/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s" \
    > -o "/home/YOUR-USERNAME-HERE/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s" \
    > --sleep-interval 35 \
    > --max-sleep-interval 120 \
    > --sub-lang en \
  5. Ivan P. Skodje revised this gist May 20, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Create a new text file and name it 'pluralsight.bat'. Put it in the same folder
    > --username YOU-USERNAME-HERE ^
    > --password YOUR-PASSWORD-HERE ^
    > %%a ^
    > -o "C:/Users/Ivan Skodje/Videos/Pluralsight/%%(playlist)s/%%(chapter_number)s - %%(chapter)s/%%(playlist_index)s - %%(title)s.%%(ext)s" ^
    > -o "C:/Users/Ivan Skodje/Videos/Pluralsight/%%(playlist)s/%%(chapter_number)02d - %%(chapter)s/%%(playlist_index)02d - %%(title)s.%%(ext)s" ^
    > --sleep-interval 35 ^
    > --max-sleep-interval 120 ^
    > --sub-lang en ^
    @@ -75,7 +75,7 @@ We are going to create bash script that will store all the information we need t
    > --username YOUR-USERNAME-HERE \
    > --password YOUR-PASSWORD-HERE \
    > "\$i" \
    > -o "/home/[USER]/Videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" \
    > -o "/home/[USER]/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s" \
    > --sleep-interval 35 \
    > --max-sleep-interval 120 \
    > --sub-lang en \
  6. Ivan P. Skodje revised this gist May 20, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Create a new text file and name it 'pluralsight.bat'. Put it in the same folder
    > --username YOU-USERNAME-HERE ^
    > --password YOUR-PASSWORD-HERE ^
    > %%a ^
    > -o "C:/Users/YOUR-NAME-HERE/Videos/Pluralsight/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" ^
    > -o "C:/Users/Ivan Skodje/Videos/Pluralsight/%%(playlist)s/%%(chapter_number)s - %%(chapter)s/%%(playlist_index)s - %%(title)s.%%(ext)s" ^
    > --sleep-interval 35 ^
    > --max-sleep-interval 120 ^
    > --sub-lang en ^
  7. Ivan P. Skodje revised this gist May 15, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,8 @@ Create a new text file and name it 'pluralsight.bat'. Put it in the same folder
    2. If you wish to change the formatting of the output video files, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).

    ### 4. Begin downloading videos
    In order to run the scripts, you need to open up a command prompt or Windows PowerShell. Navigate to the folder you have the script and youtube-dl.exe. Hold left-shift and right mouse click in the folder, and select 'Open PowerShell Window here' or the 'Command Prompt' equivalent.

    All you have to do now in order to download pluralsight videos, is to run:
    > .\pluralsight.bat [URL-HERE]
  8. Ivan P. Skodje revised this gist May 15, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ Downloading Videos from Pluralsight
    **youtube-dl** will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.

    ### 1. Download youtube-dl
    You can get it [here](https://github.com/rg3/youtube-dl) from their official web-site.
    You can get it [here](https://rg3.github.io/youtube-dl/) from their official web-site.

    ### 2. Create a bat script file
    We need to create bat script that will store all the information we need to quickly and easily download videos from pluralsight.
    @@ -55,7 +55,7 @@ If you open up a text editor (for copy/paste), you can also prepare all your URL
    **youtube-dl** will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.

    ### 1. Download youtube-dl
    You can get it [here](https://github.com/rg3/youtube-dl) from their official web-site.
    You can get it [here](https://rg3.github.io/youtube-dl/) from their official web-site.

    ### 2. Create the bash script file
    We are going to create bash script that will store all the information we need to quickly and easily download videos from pluralsight. Make sure you save it inside /bin, as it will allow us to run the 'pluralsight-dl' command from anywhere.
  9. Ivan P. Skodje revised this gist May 15, 2017. 1 changed file with 15 additions and 15 deletions.
    30 changes: 15 additions & 15 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -18,32 +18,32 @@ We need to create bat script that will store all the information we need to quic
    Create a new text file and name it 'pluralsight.bat'. Put it in the same folder as youtube-dl.exe (from step 1).

    ### 3. Paste in the script in the file
    > for %%a in (%*) do (
    > .\youtube-dl.exe ^
    > --username YOU-USERNAME-HERE ^
    > --password YOUR-PASSWORD-HERE ^
    > %%a ^
    > -o "C:/Users/YOUR-NAME-HERE/Videos/Pluralsight/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" ^
    > --sleep-interval 35 ^
    > --max-sleep-interval 120 ^
    > --sub-lang en ^
    > --sub-format srt ^
    > --write-sub
    )
    > for %%a in (%*) do (
    > .\youtube-dl.exe ^
    > --username YOU-USERNAME-HERE ^
    > --password YOUR-PASSWORD-HERE ^
    > %%a ^
    > -o "C:/Users/YOUR-NAME-HERE/Videos/Pluralsight/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" ^
    > --sleep-interval 35 ^
    > --max-sleep-interval 120 ^
    > --sub-lang en ^
    > --sub-format srt ^
    > --write-sub
    > )
    1. Remember to add your own username, password and the path to where you want the videos to be stored. Replace YOUR-USERNAME-HERE, YOUR-PASSWORD-HERE and YOUR-NAME-HERE.
    2. If you wish to change the formatting of the output video files, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).

    ### 4. Begin downloading videos
    All you have to do now in order to download pluralsight videos, is to run:
    > .\pluralsight.bat [URL-HERE]
    > .\pluralsight.bat [URL-HERE]
    You can also add multiple URLs, separated by a space:
    > .\pluralsight.bat [URL1] [URL2] [URL3]
    > .\pluralsight.bat [URL1] [URL2] [URL3]
    If you open up a text editor (for copy/paste), you can also prepare all your URL in a similar fashion:
    > pluralsight-dl ^
    > [URL1] ^
    > [URL1] ^
    > [URL2] ^
    > [URL3]
  10. Ivan P. Skodje revised this gist May 15, 2017. 1 changed file with 51 additions and 7 deletions.
    58 changes: 51 additions & 7 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,50 @@ Downloading Videos from Pluralsight
    *and are thusly refrained from doing so.*
    *Use this knowledge at your own risk.*

    # youtube-dl for Windows
    **youtube-dl** will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.

    ### 1. Download youtube-dl
    You can get it [here](https://github.com/rg3/youtube-dl) from their official web-site.

    ### 2. Create a bat script file
    We need to create bat script that will store all the information we need to quickly and easily download videos from pluralsight.
    Create a new text file and name it 'pluralsight.bat'. Put it in the same folder as youtube-dl.exe (from step 1).

    ### 3. Paste in the script in the file
    > for %%a in (%*) do (
    > .\youtube-dl.exe ^
    > --username YOU-USERNAME-HERE ^
    > --password YOUR-PASSWORD-HERE ^
    > %%a ^
    > -o "C:/Users/YOUR-NAME-HERE/Videos/Pluralsight/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" ^
    > --sleep-interval 35 ^
    > --max-sleep-interval 120 ^
    > --sub-lang en ^
    > --sub-format srt ^
    > --write-sub
    )

    1. Remember to add your own username, password and the path to where you want the videos to be stored. Replace YOUR-USERNAME-HERE, YOUR-PASSWORD-HERE and YOUR-NAME-HERE.
    2. If you wish to change the formatting of the output video files, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).

    ### 4. Begin downloading videos
    All you have to do now in order to download pluralsight videos, is to run:
    > .\pluralsight.bat [URL-HERE]
    You can also add multiple URLs, separated by a space:
    > .\pluralsight.bat [URL1] [URL2] [URL3]
    If you open up a text editor (for copy/paste), you can also prepare all your URL in a similar fashion:
    > pluralsight-dl ^
    > [URL1] ^
    > [URL2] ^
    > [URL3]
    *URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*

    -----------

    # youtube-dl for Linux
    **youtube-dl** will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.

    @@ -26,20 +70,20 @@ We are going to create bash script that will store all the information we need t
    > do
    >
    > youtube-dl \
    > --username [USERNAME] \
    > --password [PASSWORD] \
    > --username YOUR-USERNAME-HERE \
    > --password YOUR-PASSWORD-HERE \
    > "\$i" \
    > -o "/home/[USER]/Videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" \
    > --sleep-interval 20 \
    > --max-sleep-interval 60 \
    > --sleep-interval 35 \
    > --max-sleep-interval 120 \
    > --sub-lang en \
    > --sub-format srt \
    > --write-sub
    >
    > done
    1. Remember to add your own username, password and path to where you want the videos to be stored.
    2. If you wish to change the formatting of the files being saved, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).
    1. Remember to add your own username, password and the path to where you want the videos to be stored. Replace YOUR-USERNAME-HERE, YOUR-PASSWORD-HERE and YOUR-NAME-HERE.
    2. If you wish to change the formatting of the output video files, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).

    ### 3. Begin downloading videos
    All you have to do now in order to download pluralsight videos, is to run:
    @@ -48,7 +92,7 @@ All you have to do now in order to download pluralsight videos, is to run:
    You can also add multiple URLs, separated by a space:
    > pluralsight-dl [URL1] [URL2] [URL3]
    If you open up a text editor, you can also prepare all your URL in a similar fashion:
    If you open up a text editor (for copy/paste), you can also prepare all your URL in a similar fashion:
    > pluralsight-dl \\
    > [URL1] \\
    > [URL2] \\
  11. Ivan P. Skodje revised this gist Mar 28, 2017. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -49,9 +49,9 @@ You can also add multiple URLs, separated by a space:
    > pluralsight-dl [URL1] [URL2] [URL3]
    If you open up a text editor, you can also prepare all your URL in a similar fashion:
    > pluralsight-dl \\
    > [URL1] \\
    > [URL2] \\
    > [URL3]
    > pluralsight-dl \\
    > [URL1] \\
    > [URL2] \\
    > [URL3]
    *URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*
  12. Ivan P. Skodje revised this gist Mar 28, 2017. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -21,10 +21,10 @@ We are going to create bash script that will store all the information we need t
    > sudo nano /usr/local/bin/pluralsight-dl
    ### 3. Paste in the script
    > \#!/bin/bash
    > for i in "$@";
    > do
    >
    > \#!/bin/bash
    > for i in "$@";
    > do
    >
    > youtube-dl \
    > --username [USERNAME] \
    > --password [PASSWORD] \
    @@ -49,9 +49,9 @@ You can also add multiple URLs, separated by a space:
    > pluralsight-dl [URL1] [URL2] [URL3]
    If you open up a text editor, you can also prepare all your URL in a similar fashion:
    > pluralsight-dl \
    > [URL1] \
    > [URL2] \
    > pluralsight-dl \\
    > [URL1] \\
    > [URL2] \\
    > [URL3]
    *URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*
  13. Ivan P. Skodje revised this gist Mar 28, 2017. 1 changed file with 15 additions and 4 deletions.
    19 changes: 15 additions & 4 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -22,19 +22,21 @@ We are going to create bash script that will store all the information we need t
    ### 3. Paste in the script
    > \#!/bin/bash
    > URL=\$1
    > for i in "$@";
    > do
    >
    > youtube-dl \
    > --username [USERNAME] \
    > --password [PASSWORD] \
    > \$URL \
    > "\$i" \
    > -o "/home/[USER]/Videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" \
    > --sleep-interval 20 \
    > --max-sleep-interval 60 \
    > --sub-lang en \
    > --sub-format srt \
    > --write-sub
    >
    > done
    1. Remember to add your own username, password and path to where you want the videos to be stored.
    2. If you wish to change the formatting of the files being saved, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).
    @@ -43,4 +45,13 @@ We are going to create bash script that will store all the information we need t
    All you have to do now in order to download pluralsight videos, is to run:
    > pluralsight-dl [URL-HERE]
    *The URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*
    You can also add multiple URLs, separated by a space:
    > pluralsight-dl [URL1] [URL2] [URL3]
    If you open up a text editor, you can also prepare all your URL in a similar fashion:
    > pluralsight-dl \
    > [URL1] \
    > [URL2] \
    > [URL3]
    *URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*
  14. Ivan P. Skodje created this gist Mar 25, 2017.
    46 changes: 46 additions & 0 deletions youtube-dl-download-pluralsight-videos.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    Downloading Videos from Pluralsight
    ============

    ### Disclaimer
    *Pluralsight do not permit users to download their videos.*
    *If you are an user of pluralsight you have agreed with their ToS,*
    *and are thusly refrained from doing so.*
    *Use this knowledge at your own risk.*

    # youtube-dl for Linux
    **youtube-dl** will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.

    ### 1. Download youtube-dl
    You can get it [here](https://github.com/rg3/youtube-dl) from their official web-site.

    ### 2. Create the bash script file
    We are going to create bash script that will store all the information we need to quickly and easily download videos from pluralsight. Make sure you save it inside /bin, as it will allow us to run the 'pluralsight-dl' command from anywhere.

    > sudo touch /usr/local/bin/pluralsight-dl
    > sudo chmod a+rx /usr/local/bin/pluralsight-dl
    > sudo nano /usr/local/bin/pluralsight-dl
    ### 3. Paste in the script
    > \#!/bin/bash
    > URL=\$1
    >
    > youtube-dl \
    > --username [USERNAME] \
    > --password [PASSWORD] \
    > \$URL \
    > -o "/home/[USER]/Videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" \
    > --sleep-interval 20 \
    > --max-sleep-interval 60 \
    > --sub-lang en \
    > --sub-format srt \
    > --write-sub

    1. Remember to add your own username, password and path to where you want the videos to be stored.
    2. If you wish to change the formatting of the files being saved, you can learn more about it [here](https://github.com/rg3/youtube-dl/blob/master/README.md#readme).

    ### 3. Begin downloading videos
    All you have to do now in order to download pluralsight videos, is to run:
    > pluralsight-dl [URL-HERE]
    *The URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name*