Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kaipee/ec37fff3b6fa2d0b0486c625a831aa14 to your computer and use it in GitHub Desktop.

Select an option

Save kaipee/ec37fff3b6fa2d0b0486c625a831aa14 to your computer and use it in GitHub Desktop.

Revisions

  1. @barbietunnie barbietunnie revised this gist Feb 14, 2018. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,13 @@
    2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
    3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.

    > \# $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    ```
    $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    ```

    > $ youtube-dl --cookies ./udemy-cookies.txt https://www.udemy.com/course-name/
    ```
    $ youtube-dl --cookies ./udemy-cookies.txt https://www.udemy.com/course-name/
    ```

    **Notes**
    - If you have previously installed `youtube-dl`, you should update it before attempting to download your Udemy courses
  2. @barbietunnie barbietunnie revised this gist Feb 14, 2018. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -13,10 +13,12 @@
    **Notes**
    - If you have previously installed `youtube-dl`, you should update it before attempting to download your Udemy courses
    ```
    youtube-dl -U
    $ youtube-dl -U
    ```
    - If you want your videos to be organized by chapter and the indices included, you can specify the output flag `-o`
    > youtube-dl --cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/course-name/
    ```
    $ youtube-dl --cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/course-name/
    ```
    [1]: https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg
  3. @barbietunnie barbietunnie revised this gist Feb 14, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,9 @@
    **Notes**
    - If you have previously installed `youtube-dl`, you should update it before attempting to download your Udemy courses
    > youtube-dl -U
    ```
    youtube-dl -U
    ```
    - If you want your videos to be organized by chapter and the indices included, you can specify the output flag `-o`
    > youtube-dl --cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/course-name/
  4. @barbietunnie barbietunnie revised this gist Feb 14, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Download Udemy course videos using youtube-dl
    # How to download your Udemy course videos using youtube-dl
    > $ youtube-dl --list-extractors | grep udemy
    ## Steps
  5. @barbietunnie barbietunnie revised this gist Feb 14, 2018. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,13 @@

    > \# $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    > $ youtube-dl https://www.udemy.com/course-name/ --cookies ./udemy-cookies.txt
    > $ youtube-dl --cookies ./udemy-cookies.txt https://www.udemy.com/course-name/
    **Notes**
    - If you have previously installed `youtube-dl`, you should update it before attempting to download your Udemy courses
    > youtube-dl -U
    - If you want your videos to be organized by chapter and the indices included, you can specify the output flag `-o`
    > youtube-dl --cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/course-name/

    [1]: https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg
  6. @barbietunnie barbietunnie revised this gist Aug 2, 2017. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions udemy-videos-download.sh
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,8 @@ youtube-dl -u <username> -p <password> -F -o './videos/%(playlist)s/%(chapter_nu
    # Download the specified format
    youtube-dl -u <username> -p <password> -f <desired-format> -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/

    # Download sepcific items
    youtube-dl <url> --cookies <cookies-filename> --playlist-items "<comma-separated-indices>"
    # Download specific items
    youtube-dl <url> --cookies <cookies-filename> --playlist-items "<comma-separated-indices>"

    # Skip specific indices
    youtube-dl <url> --cookies <cookies-filename> --playlist-start START_NUMBER
  7. @barbietunnie barbietunnie revised this gist Jun 6, 2017. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion udemy-videos-download.sh
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,7 @@
    youtube-dl -u <username> -p <password> -F -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/

    # Download the specified format
    youtube-dl -u <username> -p <password> -f <desired-format> -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/
    youtube-dl -u <username> -p <password> -f <desired-format> -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/

    # Download sepcific items
    youtube-dl <url> --cookies <cookies-filename> --playlist-items "<comma-separated-indices>"
  8. @barbietunnie barbietunnie revised this gist Apr 13, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@
    3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.

    > \# $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    > $ youtube-dl https://www.udemy.com/course-name/ --cookies ./udemy-cookies.txt

  9. @barbietunnie barbietunnie revised this gist Apr 13, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,13 @@
    # Download Udemy course videos using youtube-dl
    $ youtube-dl --list-extractors | grep udemy
    > $ youtube-dl --list-extractors | grep udemy
    ## Steps
    1. Get link to the course to download. e.g. https://www.udemy.com/course-name/
    2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
    3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.

    !# $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    $ youtube-dl https://www.udemy.com/course-name/ --cookies ./udemy-cookies.txt
    > \# $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    > $ youtube-dl https://www.udemy.com/course-name/ --cookies ./udemy-cookies.txt

    [1]: https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg
  10. @barbietunnie barbietunnie revised this gist Apr 13, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,8 @@
    1. Get link to the course to download. e.g. https://www.udemy.com/course-name/
    2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
    3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
    # $ youtube-dl {course_link} --cookies {path_to_cookies_file}

    !# $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    $ youtube-dl https://www.udemy.com/course-name/ --cookies ./udemy-cookies.txt


  11. @barbietunnie barbietunnie revised this gist Apr 13, 2017. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,11 @@
    $ youtube-dl --list-extractors | grep udemy

    ## Steps
    1. Get link to the course to download. e.g. https://www.udemy.com/mentoring/
    2. Login into udemy website, save the cookie from chrome using Chrome Cookie.txt export extension. Save it to file udemycookies.txt
    1. Get link to the course to download. e.g. https://www.udemy.com/course-name/
    2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
    3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
    # $ youtube-dl {course_link} --cookies {path_to_cookies_file}
    $ youtube-dl https://www.udemy.com/course-name/ --cookies ./udemy-cookies.txt


    [1]: https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg
  12. @barbietunnie barbietunnie revised this gist Apr 13, 2017. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions udemy-courses-download-using-cookies.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # Download Udemy course videos using youtube-dl
    $ youtube-dl --list-extractors | grep udemy

    ## Steps
    1. Get link to the course to download. e.g. https://www.udemy.com/mentoring/
    2. Login into udemy website, save the cookie from chrome using Chrome Cookie.txt export extension. Save it to file udemycookies.txt
    3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.

  13. @barbietunnie barbietunnie revised this gist Jan 30, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion udemy-videos-download.sh
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,4 @@
    youtube-dl -u <username> -p <password> -F -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/

    # Download the specified format
    youtube-dl -u <username> -p <password> -o -f <desired-format> './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/
    youtube-dl -u <username> -p <password> -f <desired-format> -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/
  14. @barbietunnie barbietunnie revised this gist Jan 30, 2017. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion udemy-videos-download.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    youtube-dl -u <username> -p <password> -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/
    # List available formats
    youtube-dl -u <username> -p <password> -F -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/

    # Download the specified format
    youtube-dl -u <username> -p <password> -o -f <desired-format> './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/
  15. @barbietunnie barbietunnie created this gist Jan 30, 2017.
    1 change: 1 addition & 0 deletions udemy-videos-download.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    youtube-dl -u <username> -p <password> -o './videos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course-name/