Skip to content

API calls are now asynchronous

Compare
Choose a tag to compare
@C0D3D3V C0D3D3V released this 04 Jul 12:58
· 92 commits to main since this release
b331925

Changes

  • Overall the code was refactored and cleaned up, so please report bugs!
  • The logging to the terminal changed a lot and is now more pythonic
  • new dependencies:
    aiodns, aiofiles, aiohttp, colorlog, readchar (again),

New Features

  • API calls are now asynchronous, so moodle-dl is now a lot faster
  • Also, downloads are no longer performed in threads but asynchronously.

Bug fixes

  • embedded files like images now get a unique name based on a hash #181
  • SSL-Context is now created once for all calls, and is no longer dependent that a ssl chain is found on the system (but if no chain is found the ssl calls will fail, then you can use --skip-cert-verify) #173
  • Cookie file is now longer invalid if a cookie is discarded because it was a session cookie #168
  • Telegram messages are now always shorted no matter what #167
  • Filenames are now all truncated to 200 characters + the extension, even files downloaded using yt-dlp should be truncated now #59