-
-
Save akashnimare/a572e336e071af9bfd9f117876a78816 to your computer and use it in GitHub Desktop.
# 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 | |
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
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
Downloading this version of chromedriver fixed the issue for me.
Frontend masters are able to trace if we are downloading via script :( any solition?
Repository does not exist anymore!
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 🚀
Is the above download script applicable for windows users?
does anybody the github repo's content. I beleive the repo was removed.
They will ban your account if they can track your are downloding the videos.
Check this: kyoz/fem-downloader#1
Won't the user get banned from using this?
Repository does not exist anymore! Does anybody know the new address?
Thankyou so much Provide this information to us. It is really helpful for me. Create Chatbot Using Python
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.!