Download course contents from sanskritfromhome.org
- Free software: MIT license
- Documentation: https://vyoma-download.readthedocs.io.
- Download video, audio and documents for courses from sanskritfromhome.org
- Resume download whenever possible
- Keep a list of files that fail to download
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)
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.