dewanshrawat15 / nptel-downloader

A command line tool to help download NPTEL courses.
MIT License
6 stars 5 forks source link

UnboundLocalError: local variable 'x' referenced before assignment #64

Closed atharvanvaidya closed 3 years ago

atharvanvaidya commented 4 years ago

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

dewanshrawat15 commented 3 years ago

Merged :)