RahulShaw / LinuxAcademy-DL

Download videos from your LinuxAcademy account for offline viewing
MIT License
65 stars 44 forks source link

nonnumeric port: 3128 #44

Open rogersa2k opened 3 years ago

rogersa2k commented 3 years ago

I am using a free LinuxAcademy account, and this is the first time I've tried to use this script, so I am not sure if it's an issue with it, the updated website, or YouTube-DL.

I checked that I have the latest YouTube-DL version: sudo pip3 install -U youtube-dl Requirement already up-to-date: youtube-dl in /usr/local/lib/python3.8/dist-packages (2020.7.28)

I also applied the changes in issue #42.

Here is what happens when I try to download any course's videos: Executing for https://linuxacademy.com/cp/modules/view/id/786 * Trying to log in ... * ~ Logged in! ~ Getting lesson links... Course name detected as Introduction to AWS Enumerating links and sources ... Commencing download ... Downloading: An Important Note About A Cloud Guru and Linux Academy Courses ... ERROR: Unable to download webpage: nonnumeric port: '3128/' (caused by InvalidURL("nonnumeric port: '3128/'")); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. ERROR: Unable to download webpage: nonnumeric port: '3128/' (caused by InvalidURL("nonnumeric port: '3128/'")); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Downloading failed. Perhaps, the cookies have expired.