Skip to content

Instantly share code, notes, and snippets.

@akashnimare
Last active January 9, 2024 10:00
Show Gist options
  • Save akashnimare/a572e336e071af9bfd9f117876a78816 to your computer and use it in GitHub Desktop.
Save akashnimare/a572e336e071af9bfd9f117876a78816 to your computer and use it in GitHub Desktop.
Download Frontend Master courses video. Note: This is for learning purpose only. Please don't mis-use it.
# Requirements
* Python 2.7
* Google Chrome
* ChromeDriver - WebDriver for Chrome
- Download the latest chromedrive which is 2.28 from here - https://sites.google.com/a/chromium.org/chromedriver/downloads
- Extract and move `chromedriver` file to `/usr/local/bin/chromedriver`
- git clone https://github.com/li-xinyang/OS_FrontendMaster-dl
- cd OS_FrontendMaster-dl
- pip install -r requirements.txt
- python frontendmasters-dl.py --id YOUR-USERNAME --password YOUR-PASSWORD --course COURSE-ID
# Example
- python frontendmasters-dl.py --id myusername --password mypass --course good-parts-javascript-web
- All videos will be saved in ./Download directory
@nehamonga12
Copy link

Getting below message:

Login with your credential
Downloading course: react
Retrieving: react/Complete_Introduction_to_React_v3/Introduction
429: You have reached maximum request limit. Sleeping for 15 minutes

Any thoughts?

@lavshah
Copy link

lavshah commented Jan 22, 2018

I was not able to download videos due to same errors specified by @geirman.
But I managed to get all the links in .csv file. and after then you can download the videos using link.
If anyone can create script for that created .csv files to autodownload videos it will be great.
Thanks in advanced if anyone could help.!

@digvijay442
Copy link

digvijay442 commented Mar 16, 2018

Not able to download the course.........facing SSL certificate issue...............

[0316/150902.789:ERROR:gpu_process_transport_factory.cc(1009)] Lost UI shared context.
[0316/150902.794:ERROR:instance.cc(49)] Unable to locate service manifest for metrics
[0316/150904.749:ERROR:service_manager.cc(890)] Failed to resolve service name: metrics

Login with your credential
Downloading course: javascript-hard-parts
[0316/150932.653:INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://embedwistia-a.akamaihd.net will be distrusted in the future. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source: https://frontendmasters.com/courses/javascript-hard-parts/ (0)
Retrieving: javascript-hard-parts/JavaScript_The_Hard_Parts/Introduction
Video URL: http://placehold.it/500x500
Retrieving: javascript-hard-parts/Principles_of_JavaScript/Global_Execution_Context
[0316/150957.634:ERROR:instance.cc(49)] Unable to locate service manifest for metrics
[0316/150957.636:ERROR:service_manager.cc(890)] Failed to resolve service name: metrics

@it-sumanp
Copy link

it-sumanp commented Apr 8, 2018

Can anyone helpme with this ?

Traceback (most recent call last):
File "frontendmasters-dl.py", line 24, in
downloader()
File "/Users/sumanpatra/Library/Python/2.7/lib/python/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/Users/sumanpatra/Library/Python/2.7/lib/python/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/sumanpatra/Library/Python/2.7/lib/python/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/sumanpatra/Library/Python/2.7/lib/python/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "frontendmasters-dl.py", line 12, in downloader
spider = Spider(mute_audio)
File "/Users/sumanpatra/PlayGround/OS_FrontendMaster-dl/extractor/spider.py", line 34, in init
self.browser = webdriver.Chrome(chrome_options=options)
File "/Users/sumanpatra/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/chrome/webdriver.py", line 68, in init
self.service.start()
File "/Users/sumanpatra/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory

@vjrngn
Copy link

vjrngn commented Apr 17, 2018

Downloading this version of chromedriver fixed the issue for me.

@ankitbtanna
Copy link

Frontend masters are able to trace if we are downloading via script :( any solition?

@Mr-Usman
Copy link

Repository does not exist anymore!

@akashnimare
Copy link
Author

If you have a student college email ID sign up for the GitHub education pack and connect your GitHub with the Frontend Masters account. You'll get six months free 🚀

@dabsclement
Copy link

Is the above download script applicable for windows users?

@Mahe-git2hub
Copy link

does anybody the github repo's content. I beleive the repo was removed.

@ekodikara
Copy link

They will ban your account if they can track your are downloding the videos.
Check this: kyoz/fem-downloader#1

@adeleke5140
Copy link

Won't the user get banned from using this?

@Maricaya
Copy link

Maricaya commented Mar 3, 2021

Repository does not exist anymore! Does anybody know the new address?

@Coursefree
Copy link

Thankyou so much Provide this information to us. It is really helpful for me. Create Chatbot Using Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment