heliomarpm / udemy-downloader-gui

A desktop application for downloading Udemy Courses
MIT License
1.02k stars 207 forks source link

Download gets stuck after video 37 of 168 #208

Closed starnutoditopo closed 1 month ago

starnutoditopo commented 1 month ago

Udeler | Udemy Course Downloader

v1.13.1

Account Type?

Personal

Steps to reproduce

Start download of course https://www.udemy.com/course/wordpress-crash-course-for-absolute-beginners download gets stuck after video 37 of 168 image

Closing the application and starting it again, pressing the "download" button causes the video n° 37 to restart the download, then the download process gets stuck again.

No error is reported in the "logger" panel.

The problem was already noticed using the previous version (v1.13.0).

✔️ Expected Behavior

All videos are expected to be downloaded correctly

🔍 Additional context

OS: Windows 11 - home edition

heliomarpm commented 1 month ago

I don't have access to this course.

Can you run this command and send me the result by email?

curl --location --globoff 'https://www.udemy.com/api-2.0/courses/5053916/cached-subscriber-curriculum-items?page_size=10000&fields[asset]=stream_urls%2Cdownload_urls%2Cexternal_url%2Ccaptions%2Ctitle%2Cfilename%2Cbody%2Cmedia_sources%2Casset_type%2Cdata%2Cmedia_license_token&fields[lecture]=id%2Ctitle%2Casset%2Csupplementary_assets' \
--header 'Authorization: Bearer ***'

In the --header 'Authorization: Bearer ' line, replace with your access token

starnutoditopo commented 1 month ago

I ran the following command:

PS C:\> curl.exe --location --globoff '
https://www.udemy.com/api-2.0/courses/5053916/cached-subscriber-curriculum-items?page_size=10000&fields[asset]=stream_urls%2Cdownload_urls%2Cexternal_url%2Ccaptions%2Ctitle%2Cfilename%2Cbody%2Cmedia_sources%2Casset_type%2Cdata%2Cmedia_license_token&fields[lecture]=id%2Ctitle%2Casset%2Csupplementary_assets'
--header 'Authorization: Bearer ...' > log.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
100  699k    0  699k    0     0  1097k      0 --:--:-- --:--:-- --:--:--
1102k
PS C:\>

and got the log file in attachment.

Thanks for your support.

On Wed, Aug 21, 2024 at 2:04 AM Heliomar P. Marques < @.***> wrote:

I don't have access to this course.

Can you run this command and send me the result by email?

curl --location --globoff 'https://www.udemy.com/api-2.0/courses/5053916/cached-subscriber-curriculum-items?page_size=10000&fields[asset]=stream_urls%2Cdownload_urls%2Cexternal_url%2Ccaptions%2Ctitle%2Cfilename%2Cbody%2Cmedia_sources%2Casset_type%2Cdata%2Cmedia_license_token&fields[lecture]=id%2Ctitle%2Casset%2Csupplementary_assets' \ --header 'Authorization: Bearer ***'

In the --header 'Authorization: Bearer ' line, replace with your access token

— Reply to this email directly, view it on GitHub https://github.com/heliomarpm/udemy-downloader-gui/issues/208#issuecomment-2299963786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3JPO3YFPQHZDAMT6FE33ZSPKSBAVCNFSM6AAAAABMXHTFASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZHE3DGNZYGY . You are receiving this because you authored the thread.Message ID: @.***>

starnutoditopo commented 1 month ago

If it can be helpful to detect where the problem arises, I can see a folder named "7. Elementor's Baisic Widgets", but it's empty.

[image: image.png]

On Wed, Aug 21, 2024 at 9:12 AM Starnuto di topo @.***> wrote:

I ran the following command:

PS C:\> curl.exe --location --globoff '
https://www.udemy.com/api-2.0/courses/5053916/cached-subscriber-curriculum-items?page_size=10000&fields[asset]=stream_urls%2Cdownload_urls%2Cexternal_url%2Ccaptions%2Ctitle%2Cfilename%2Cbody%2Cmedia_sources%2Casset_type%2Cdata%2Cmedia_license_token&fields[lecture]=id%2Ctitle%2Casset%2Csupplementary_assets'
--header 'Authorization: Bearer ...' > log.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
100  699k    0  699k    0     0  1097k      0 --:--:-- --:--:-- --:--:--
1102k
PS C:\>

and got the log file in attachment.

Thanks for your support.

On Wed, Aug 21, 2024 at 2:04 AM Heliomar P. Marques < @.***> wrote:

I don't have access to this course.

Can you run this command and send me the result by email?

curl --location --globoff 'https://www.udemy.com/api-2.0/courses/5053916/cached-subscriber-curriculum-items?page_size=10000&fields[asset]=stream_urls%2Cdownload_urls%2Cexternal_url%2Ccaptions%2Ctitle%2Cfilename%2Cbody%2Cmedia_sources%2Casset_type%2Cdata%2Cmedia_license_token&fields[lecture]=id%2Ctitle%2Casset%2Csupplementary_assets' \ --header 'Authorization: Bearer ***'

In the --header 'Authorization: Bearer ' line, replace with your access token

— Reply to this email directly, view it on GitHub https://github.com/heliomarpm/udemy-downloader-gui/issues/208#issuecomment-2299963786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3JPO3YFPQHZDAMT6FE33ZSPKSBAVCNFSM6AAAAABMXHTFASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZHE3DGNZYGY . You are receiving this because you authored the thread.Message ID: @.***>

heliomarpm commented 1 month ago

@starnutoditopo, please send me all the result in a .json file, do not paste the result here, ok

starnutoditopo commented 1 month ago

Here you are! (sorry: in my previous reply I used my email client and the attachment messed up) log.json

heliomarpm commented 1 month ago

Here you are! (sorry: in my previous reply I used my email client and the attachment messed up) log.json

Hi, @starnutoditopo how are you?

No, I had trouble downloading beyond lesson 37. Can you try with a lower quality like 720p? Can you download other courses?

https://github.com/user-attachments/assets/ec3950f8-69fa-40ce-8ef5-21d9e539bef1

heliomarpm commented 1 month ago

see a new version

starnutoditopo commented 1 month ago

@heliomarpm: I confirm that the bug is fixed in the newer version 1.13.2.

Thanks!