Skip to main content

Download course contents from sanskritfromhome.org

Project description

https://img.shields.io/pypi/v/vyoma_download?color=success Documentation Status Python Version Support GitHub Issues GitHub Followers Twitter Followers

Download course contents from sanskritfromhome.org

Features

  • Download video, audio and documents for courses from sanskritfromhome.org

  • Resume download whenever possible

  • Keep a list of files that fail to download

Usage

Use in a Project

To use vyoma-download in a project:

from vyoma_download.vyoma import Vyoma
vyoma = Vyoma(username, password)
courses = vyoma.find_course("LSK")
course_id = courses[0]["course_id"]
vyoma.download_course(course_id)

Use Console Interface

usage: vyoma-dl [-h] [-a] [-d] [-o OUTPUT]
                [-u USERNAME] [-p PASSWORD]
                [--status] [--verbose]
                [--debug] [--version] course-pattern

Download course contents from 'sanskritfromhome.in'.

positional arguments:
course-pattern        URL of the relevant course

optional arguments:
  -h, --help            show this help message and exit
  -a, --audio           Download audios only
  -d, --document        Download documents only
  -o OUTPUT, --output OUTPUT
                        Path to the download directory
  -u USERNAME, --username USERNAME
  -p PASSWORD, --password PASSWORD
  --status              Display status of the current course
  --verbose             Enable verbose output
  --debug               Enable debug information
  --version             show program's version number and exit

Note:

You must be registered on https://sanskritfromhome.org/.

You must be subscribed to the course that you wish to download.

History

1.0.0 (2022-05-11)

  • Major upgrade to support new Edmingle-based system

0.1.0 (2020-09-08)

  • First release on PyPI.

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

vyoma_download-1.0.1.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

vyoma_download-1.0.1-py2.py3-none-any.whl (16.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file vyoma_download-1.0.1.tar.gz.

File metadata

  • Download URL: vyoma_download-1.0.1.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for vyoma_download-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5ac1f4da5b809e43af3e8e714df8dd12f12a45c8634aca4c81c9b3708da383fe
MD5 0c62fc4f616a7cb691edb3f78262384d
BLAKE2b-256 2e95ffd5539184f7b734d8d93442717fb49bf8610be5cf3402ac2af76197643c

See more details on using hashes here.

File details

Details for the file vyoma_download-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: vyoma_download-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for vyoma_download-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69e915aa7e96d19c46975c295b941247b8975359784cc558febf1572dc1462ad
MD5 b7f75337845968c0a394dcf24759eec6
BLAKE2b-256 2ea60f9f4899137313acbfb3d9cc6d4f339a67f0865717af85821c4c3fd4f487

See more details on using hashes here.

Supported by

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