FallingLights / Teachable-dl

Course downloader for teachable platform written in python3 using selenium and yt-dlp
GNU Lesser General Public License v3.0
106 stars 27 forks source link

[BUG] <Unable to download certain video> #44

Open dotwest opened 4 months ago

dotwest commented 4 months ago

Describe the bug So there is a list of 5 videos, 3 of them downloads as suspected but the other 2 gets skipped. During the downloading process at 2 certain videos it gets this error : ERROR: [generic] Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>) And then the video doesn't download, it skips over it? I suspect it's the video set to private or some sort of permissions blocking it from been access and then been downloaded.

To Reproduce Steps to reproduce the behavior:

  1. Site name: Teachable (Mary-Vance-Photography-Education)
  2. command run : python3 main.py --url https://maryvance.teachable.com/courses/1289331 --email <some-email> --password <some-passowrd>
  3. URL : https://vod-akm.play.hotmart.com/video/AZM26AM8RD/hls/master-t-1649705948001.m3u8?hdnts=st%3D1711...e8-9725-e0efc7b5d29c

Expected behavior Well, I suspect it should download the video as all the other videos been downloaded?

Screenshots teachable_error

Desktop (please complete the following information):

Additional context None.