Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Issue in Downloading one course #540

Closed
@syamkrishnap

Description

@syamkrishnap

Hello,

I have been trying to download one course. It's all went well till it reached one chapter. Below is the error I got


Traceback (most recent call last):
File "udemy-dl.py", line 1453, in
main()
File "udemy-dl.py", line 1016, in main
udemy.chapter_download(chapter_number=options.chapter, path=options.output, quality=options.quality, skip_captions=options.skip_captions, unsafe=options.unsafe)
File "udemy-dl.py", line 664, in chapter_download
self.download_lectures_only(lecture_best=lecture_best, lecture_title=lecture_title, inner_index=inner_index, lectures_count=lectures_count, lecture_assets=lecture_assets, filepath=filepath, unsafe=unsafe)
File "udemy-dl.py", line 414, in download_lectures_only
self.download_assets(lecture_assets=lecture_assets, filepath=filepath, unsafe=unsafe)
File "udemy-dl.py", line 327, in download_assets
assets.download(filepath=filepath, unsafe=unsafe, quiet=True, callback=self.show_progress)
File "udemy-dl/udemy/_shared.py", line 126, in download
return self._write_external_links(filepath, unsafe)
File "udemy-dl/udemy/_shared.py", line 92, in _write_external_links
file_data = [i.strip().lower() for i in open(filename, encoding='utf-8') if i]
TypeError: 'encoding' is an invalid keyword argument for this function

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions