Download course contents from sanskritfromhome.org
Project description
Download course contents from sanskritfromhome.org
Free software: MIT license
Documentation: https://vyoma-download.readthedocs.io.
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
Built Distribution
File details
Details for the file vyoma_download-1.0.0.tar.gz
.
File metadata
- Download URL: vyoma_download-1.0.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d89f8639e80729bf7c69a57a6e59c345a00be57bac8d0e7cca533276defa825 |
|
MD5 | bb68bba0f2998505db2130b2353394bd |
|
BLAKE2b-256 | f2204285c82e9fe6bddb7c6c07c50ea76948b6c4233810287a3dd2744b2d7a58 |
File details
Details for the file vyoma_download-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: vyoma_download-1.0.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e97d89d4c63007731cac04769dad11f8dbfa9a50a1b3431d1713867151bfe3 |
|
MD5 | f9a8a39fbe557b76474eb191632077fb |
|
BLAKE2b-256 | f514481b6ca2e130af6abf9844288c7bc7e57a8f2c89afc07fc3526100dd0372 |