Skip to main content

Effortlessly download Maktabkhooneh.org courses with speed and smart features

Project description

maktabkhooneh-downloader ✨

Persian README (فارسی)

Effortlessly download your Maktabkhooneh courses with a friendly, interactive CLI — built for speed, reliability, and convenience. 🚀 Enjoy a delightful, menu-driven experience with colorful prompts and clear steps. 🧭🎛️


⚠️ Important — Legal & Ethics

  • This tool works only for courses you are allowed to download. ✅
  • Use it solely for your own content and obey the platform’s Terms of Service. 🙏
  • The authors are not responsible for misuse.

Features at a glance

  • 💨 Instant video downloads
  • ⏰ Scheduled downloading (download later automatically)
  • 🧾 Export a .txt file of all downloadable links
  • 👤 Manual login
  • 🤖 Automatic login via browser cookies
  • 🔁 Resume incomplete/failed downloads
  • 🌈 Rich, interactive CLI menus

Quick Install

The easiest way is via pip (provides the mkdl command):

pip install mkdl

Or upgrade to the latest version:

pip install -U mkdl

Minimum Python version: 3.11


Manual Install (Poetry) 🛠️

First, ensure Poetry is installed. If not, install it with:

pip install poetry
git clone https://github.com/hesam21188/maktabkhooneh-downloader.git
cd maktabkhooneh-downloader
poetry install --no-interaction
poetry run mkdl

Usage

  • Recommended (installed via pip):
mkdl
  • Alternative (module mode):
poetry run mkdl

You’ll get interactive menus exactly like these:

  • Login menu:

    • 🔥 Auto login (from your browser cookies)
    • ⚡ Manual login (enter your session id manually)
    • 🚪 Exit
  • Download menu (after login):

    • start download 🚀
    • schedule download ⏰
    • get txt file of video links (for IDM) 📥
    • change (login again) 🔄
    • 🚪 Exit

Examples

  • Start the interactive app and pick what you need from the menus:
mkdl
  • Example flows you can select from the menus:
    • 🎬 Instant download: Choose a course and start downloading right away
    • ⏱️ Scheduled download: Set a time and let it download later automatically
    • 🧾 Export links: Generate a .txt containing all downloadable URLs
    • 🔁 Resume: Continue an incomplete/failed download from where it stopped

How login works 🔐

  • Automatic login extracts your existing session from supported browsers (when possible)
  • If automatic login fails, switch to manual login from the menu
  • If you’re logged in on multiple browsers, you can choose which browser profile to use

Troubleshooting 🧰

  • If automatic login doesn’t work, try manual login from the menu
  • If a download stops midway, simply run the tool again — it resumes where it left off
  • Ensure you have permission to download the course (the tool won’t bypass restrictions)
  • Use Python 3.11+ and keep mkdl updated: pip install -U mkdl

Uninstall

pip uninstall mkdl

Contributing 🤝

PRs and suggestions are welcome! Please follow conventional best practices and keep the UX friendly.


License

Distributed under the GNU General Public License (GPL). See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdl-1.0.0b1.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdl-1.0.0b1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file mkdl-1.0.0b1.tar.gz.

File metadata

  • Download URL: mkdl-1.0.0b1.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.2 Windows/11

File hashes

Hashes for mkdl-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 7782a143cd80e329a54577e5e60e3d69f1e5aa0e0e64c7e66e76a4183cfa009a
MD5 abb6f08cca761d18d6992f6f6128fd21
BLAKE2b-256 4321767dc0c50c4019aac1d6349a5fb9c3e870ca58ab4457cb67e069ed3e80eb

See more details on using hashes here.

File details

Details for the file mkdl-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: mkdl-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.2 Windows/11

File hashes

Hashes for mkdl-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 96d1239b7be87399352d74babd9e2e684ff131e01d6e6a43a8604afa8a5095e9
MD5 027a90336d9160f3e38fc668f8fdb449
BLAKE2b-256 7a099d4f78c1a00fa1f1f1b531a57e21dcf787ba308b7df94e47137239ca1260

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page