coiby / edx-downloader

A simple tool to download video lectures from edx.org.
17 stars 10 forks source link

NullObject returned at line451 #3

Open yodogo opened 8 years ago

yodogo commented 8 years ago

1) line412: USERNAME = data.find_all('span')[1].string, OutOfIndex. data.find_all('span') return Null. If we comment this line, the code can go on until failure at line451. 2) line451:data = soup.find(*COURSEWARE_SEL), data is a NullObject.