RahulShaw / LinuxAcademy-DL

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

Not able to Download the Video #7

Open mnarang2 opened 5 years ago

mnarang2 commented 5 years ago

Getting below error after successfully logging in...

unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)')))

RahulShaw commented 5 years ago

Can you please put the complete log here ?

mnarang2 commented 5 years ago

Requesting download of https://linuxacademy.com/cp/modules/view/id/287 Sleeping for 15 seconds.. Attempting to login.. Login successful... Getting lesson links... Starting download... [generic] 287: Requesting header WARNING: Could not send HEAD request to https://linuxacademy.com//cp/courses/lesson/course/3546/lesson/1/module/287: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> [generic] 287: Downloading webpage ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))) ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))) Downloading failed. Perhaps, the cookies have expired.

mnarang2 commented 5 years ago

was able to resolve that one , but now getting below one .

Requesting download of https://linuxacademy.com/cp/modules/view/id/287 Sleeping for 15 seconds.. Attempting to login.. Login successful... Getting lesson links... Starting download... [generic] 287: Requesting header WARNING: Forcing on generic information extractor. [generic] 287: Downloading webpage [generic] 287: Extracting information [generic] playlist: Downloading m3u8 information [download] Sleeping 15 seconds... [download] Destination: /Users/Test/Microservice Applications in Kubernetes/1. Course Introduction.mp4 ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

Thanks in advance for help ..:)

amitfegade121 commented 5 years ago

was able to resolve that one , but now getting below one .

Requesting download of https://linuxacademy.com/cp/modules/view/id/287 Sleeping for 15 seconds.. Attempting to login.. Login successful... Getting lesson links... Starting download... [generic] 287: Requesting header WARNING: Forcing on generic information extractor. [generic] 287: Downloading webpage [generic] 287: Extracting information [generic] playlist: Downloading m3u8 information [download] Sleeping 15 seconds... [download] Destination: /Users/Test/Microservice Applications in Kubernetes/1. Course Introduction.mp4 ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

Thanks in advance for help ..:)

Hi, Follow the below steps (Windows OS):

1) Download ffmpeg from the below link https://ffmpeg.zeranoe.com/builds/

2) Put that ffmpeg.exe file in Python installation directory/Scripts folder

It will work...

hila3000 commented 5 years ago

Requesting download of https://linuxacademy.com/cp/modules/view/id/287 Sleeping for 15 seconds.. Attempting to login.. Login successful... Getting lesson links... Starting download... [generic] 287: Requesting header WARNING: Could not send HEAD request to https://linuxacademy.com//cp/courses/lesson/course/3546/lesson/1/module/287: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> [generic] 287: Downloading webpage ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))) ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))) Downloading failed. Perhaps, the cookies have expired.

@mnarang2 , how did you resolve it?

RahulShaw commented 4 years ago

@mnarang2 / @hila3000 - Behind a proxy?

hila3000 commented 4 years ago

of some sort.. not sure what, but it's not getting replicated on another computer, so all good.