Open nalayakengineer opened 4 years ago
@nalayakengineer Hey, just wanted to know if this script works. Did you download any course successfully?
I was able to download 2 courses after making above changes. Before I got blocked.
Definitely, they are looking for bots.If you run it continuously. they'll block your account. ;)
one a day doesn't hurt I guess.
Any idea how they are detecting script usages ? And how to counter that?
I haven't got time to check, was stuck in a pile of work due to this COVID-19. I am sure there will be a workaround.
spider.py needs few modificatons.
line 86: titles are now closed under h2 tag. titles = soup_page.find('section', {'class': 'CourseToc'}).find_all('h2', {'class', 'lessongroup'})
--highresolution is not required by default it download 1080p which is highest resolution.
Update Readme.md as it doesn't specify where to keep gecko/chromedriver. Download the driver to /usr/local/bin