A simple tool to download video lectures from edx.org (and other openedx sites)
GNU Lesser General Public License v3.0
1.93k
stars
638
forks
source link
Unsupported operand type(s) for +: 'NoneType' and 'unicode' with SW12.4 ChinaX Part 4 A New National Culture from HarvardX and UnicodeDecodeError with SW12.4 ChinaX Part 6 #142
[download] Downloaded/SW12.4x ChinaX Part 4 A New National Culture/17-HARSW12XT313-G028400_100.mp4 has already been downloaded
[youtube] zwr64zgqrcI: Downloading webpage
[youtube] zwr64zgqrcI: Extracting video information
[youtube] zwr64zgqrcI: Downloading DASH manifest
[download] Downloaded/SW12.4x ChinaX Part 4 A New National Culture/18-HARSW12XT313-G028500_100.mp4 has already been downloaded
[youtube] SCRoOtWRsAc: Downloading webpage
[youtube] SCRoOtWRsAc: Downloading embed webpage
[youtube] SCRoOtWRsAc: Refetching age-gated info webpage
Traceback (most recent call last):
File "/Users/Userxxx/Downloads/edx-downloader-master/edx-dl.py", line 449, in
main()
File "/Users/Userxxx/Downloads/edx-downloader-master/edx-dl.py", line 425, in main
subs_filename = os.path.join(target_dir, filename + '.srt')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode'
and error for SW12.6 ChinaX Part 6 from HarvardX
[download] Destination: Downloaded/SW12.6x ChinaX Part 6 The Manchus and the Qing/29-ChinaX - Office Hours 25 Traceback (most recent call last):
File "/Users/Daniel/Downloads/edx-downloader-master/edx-dl.py", line 449, in
main()
File "/Users/Daniel/Downloads/edx-downloader-master/edx-dl.py", line 417, in main
print(tmp, end="")
File "/Users/Daniel/Downloads/edx-downloader-master/edx-dl.py", line 103, in print
texts.append(original_text.encode(enc, errors='replace').decode(enc))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
[download] Downloaded/SW12.4x ChinaX Part 4 A New National Culture/17-HARSW12XT313-G028400_100.mp4 has already been downloaded [youtube] zwr64zgqrcI: Downloading webpage [youtube] zwr64zgqrcI: Extracting video information [youtube] zwr64zgqrcI: Downloading DASH manifest [download] Downloaded/SW12.4x ChinaX Part 4 A New National Culture/18-HARSW12XT313-G028500_100.mp4 has already been downloaded [youtube] SCRoOtWRsAc: Downloading webpage [youtube] SCRoOtWRsAc: Downloading embed webpage [youtube] SCRoOtWRsAc: Refetching age-gated info webpage Traceback (most recent call last): File "/Users/Userxxx/Downloads/edx-downloader-master/edx-dl.py", line 449, in
main()
File "/Users/Userxxx/Downloads/edx-downloader-master/edx-dl.py", line 425, in main
subs_filename = os.path.join(target_dir, filename + '.srt')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode'
and error for SW12.6 ChinaX Part 6 from HarvardX
[download] Destination: Downloaded/SW12.6x ChinaX Part 6 The Manchus and the Qing/29-ChinaX - Office Hours 25 Traceback (most recent call last): File "/Users/Daniel/Downloads/edx-downloader-master/edx-dl.py", line 449, in
main()
File "/Users/Daniel/Downloads/edx-downloader-master/edx-dl.py", line 417, in main
print(tmp, end="")
File "/Users/Daniel/Downloads/edx-downloader-master/edx-dl.py", line 103, in print
texts.append(original_text.encode(enc, errors='replace').decode(enc))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)