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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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