HtmlParser not having unescape attribute error while downloading #571
Description
[i] : Downloading subtitle(s)
[i] : Downloading (001 Course Agenda.id)
[*] : 13.46KB/13.46KB 100.00% |##############################| 10.62kB/s
[i] : Downloaded (001 Course Agenda.id)
Traceback (most recent call last):
File "D:\Downloads\udemy-dl-1.0\udemy-dl-1.0\udemy-dl.py", line 606, in
main()
File "D:\Downloads\udemy-dl-1.0\udemy-dl-1.0\udemy-dl.py", line 576, in main
udemy_obj.course_download(
File "D:\Downloads\udemy-dl-1.0\udemy-dl-1.0\udemy-dl.py", line 361, in course_download
self.downalod_subtitles(
File "D:\Downloads\udemy-dl-1.0\udemy-dl-1.0\udemy-dl.py", line 123, in downalod_subtitles
self.convert(filename=filename, keep_vtt=keep_vtt)
File "D:\Downloads\udemy-dl-1.0\udemy-dl-1.0\udemy\vtt2srt.py", line 105, in convert
timecode = self._generate_timecode(seq, unescapeHTML(line))
File "D:\Downloads\udemy-dl-1.0\udemy-dl-1.0\udemy\utils.py", line 196, in unescapeHTML
data = clean.unescape(s)
AttributeError: 'HTMLParser' object has no attribute 'unescape'
I am using Python version 3.9. If any specific version of python is required for this like 2.7?
Activity