Giter Site home page Giter Site logo

vyoma_download's Introduction

vyoma-download

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.

vyoma_download's People

Contributors

hrishikeshrt avatar

Stargazers

 avatar  avatar

Watchers

 avatar

vyoma_download's Issues

Update to download from Edmingle-based Platform

  • vyoma-download version: 0.3.0
  • Python version: 3.8.11
  • Operating System: Ubuntu 18.04.6 LTS

Description

Download doesn't work since the platform has shifted to new domain sanskritfromhome.org which uses Edmingle Platform

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.