Git Product home page Git Product logo

nptel-downloader's Introduction

NPTEL Course Downloader

Build Status Codacy Badge

The script.py file once triggered automatically starts downloading the videos from the course page which contains those lecture videos.

Requirement

Any system with python 3 (preferably 3.6) and terminal.

Usage

If you have to just download videos or basically use the script to download videos:

  • Navigate to the file directory where the downloaded file (the script file) is stored using the cd command in terminal or cmd.
  • Trigger python script.py or python3 script.py according to the operating system needs.
  • Enter the url of the Video Lecture Course that you want to download.

Description

nptel-downloader is a command-line program to download videos from the nptel course page. It requires the Python interpreter, 3.6+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like. python main.py [-h] [-u URL]

Options

-h, --help                        Print this help message box and exit
-u, --url                         Enter the nptel course page url

Known Issue

None as of now. Currently, I'm trying to add a Resume Downloads Feature. Feel free to open an issue if any!

License

The MIT License

nptel-downloader's People

Contributors

atharvanvaidya avatar dependabot-preview[bot] avatar dependabot[bot] avatar dewanshrawat15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nptel-downloader's Issues

UnboundLocalError: local variable 'x' referenced before assignment

Describe the bug
The script returns an UnboundLocalError when only the URL is given as an argument.

To Reproduce
Steps to reproduce the behavior:

  1. python3 main.py -u https://nptel.ac.in/courses/106/106/106106211/

Expected behavior
The script should create Videos folder and download the videos with the given URL.

Screenshots
Screenshot from 2020-10-02 10-06-29

Desktop (please complete the following information):

  • OS: Ubuntu 16.04
  • Browser: Firefox
  • Version: Mozilla Firefox 66.0.3

Fixing the downloader

Describe the bug
NPTEL has updated it's website structure a bit. The downloader has to be updated so that it scrapes the correct path.

Expected behavior
The downloader should be able to start working correctly with all the different formats of downloading

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.