Skip to content

Instantly share code, notes, and snippets.

How to download your 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/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}
@dungalamahesh
dungalamahesh / gist:df52524b3fa4e8f3478aa851b6a24bc6
Created July 29, 2018 10:32 — forked from welsh/gist:6678788
JBoss AS 7 Commands Cheat Sheet
# All Commands are jboss-cli.sh unless indicated
# Stop / Start JBoss Server
/host=master/server-config=server-one:stop
/host=master/server-config=server-one:start
# Check is JBoss is Up
ls -l /host=master/server-config=server-one (SHOULD Work)
Bash = ps -e -o pid -o args | grep java | grep 'server-one' | grep -v 'grep' | awk '{print $1}' (Will return just the PID of the running instance)
@dungalamahesh
dungalamahesh / Kitchen-CheetSheet.md
Created July 29, 2018 10:21 — forked from arttuladhar/Kitchen-CheetSheet.md
Chef and Knife Commands CheatSheet

Kitchen Commands

kitchen list
kitchen create
kitchen destroy
kitchen login <InstanceName>

Jenkins Pipeline Plugin Cheat Sheet

My collection of useful hints and snippets for the Jenkins Pipeline Plugin

Testing Jenkins Pipelines

Permission Cheat Sheet

You will use this one a lot in Wordpress :P

   chown -R www-data:www-data ./
   // set the proper owner