demonstration.mp4
Access token is required to get the list of enrolled courses in udemy account.
- Login to your udemy account.
- Open console in devtools (ctrl+shift+i ---> console tab).
- Copy the JavaScript snippet given below and paste it into the console window.
function getCookie(name) {
const value = `; ${document.cookie}`;
const parts = value.split(`; ${name}=`);
if (parts.length === 2) return parts.pop().split(';').shift();
}
getCookie('access_token')
- Copy the string which is returned.This is your access token.
- Go to this site.
- Paste access token in the box and wait till all course information is retrieved.
- First few rows are displayed just to get an idea of how the data is formatted.
- An Excel sheet containing all course information can be downloaded by clicking the download button.