Skip to content

karimelgazar/course_to_local_website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Please star 🌟 this repo if liked it.

After you download your Udemy course using this great tool @udemy-dl you can use my tool to create a local website for your downloaded course

This project was inspired from those great guys @Udacimak

The purpose of this project is to access your videos, subtitles and html files all in one place so you can focus only on learning.

🌟 Index

How To Use It  |  Shortcuts  |  The Result  |  Problems & Solutions

 

🌟 How To Use It 📓

  1. [OPTIONAL] set a wallpaper for the course hompage

The image can have any name and these extensions ".jpg", ".gif", ".png", ".tga", "jpeg"

  1. Open a terminal

  2. Excute this command:

     pip install webvtt-py
    
  3. Excute this command

     python run.py "THE_COURSE_FOLDER_PATH"`
    
  4. You access the course again by opening index.html file in your web browser (see the image above)

  5. Enjoy. 😎

🌟 Shortcuts 👨🏼‍💻

💁 Almost all shortcuts are the same as Youtube

  • 0..9 : Seek to specific point in the video (7 advances to 70% of duration)

Note: use the top numeric keys not the ones on the side

  • b : Go to the previous video

  • c : toggle captions ON/OFF

  • f : Toggle full screen

  • h : Go the course home page

  • n : Go to the next video

  • z : Reset playback rate to normal

  • spacebar : Play/Pause the video

  • , : Previous frame (while paused)

  • . : Next frame (while paused)

  • > (SHIFT+.) : Increase playback rate

  • < (SHIFT+,) : Decrease playback rate

  • CTRL + b : Display/Hide sidebar

🌟 The Result 🤩

Please see this demo video

Scereenshots

🌟 Problems & Solutions

why the shortcuts doesn't work?

Make sure that the selected language in your keyboard is English

why the subtitle is not shown?

This problem beacuse of the Chrome browser security issues which doesn't allow subtitles to play and you can overcome it by applying these 2 simple steps.