Puyodead1 / udemy-downloader

A Udemy downloader that can download courses, with DRM support.
MIT License
1.37k stars 313 forks source link

[Bug]: Assets can have the same name #244

Open moliberga opened 2 months ago

moliberga commented 2 months ago

What happened?

{AA58CBA2-127D-433D-9590-8467C13379EF}

[04:52:16] [udemy-downloader] [parse_new:1725] ERROR: > Error downloading asset
Traceback (most recent call last):
  File "/udemy-downloader/main.py", line 1722, in parse_new
    ret_code = download_aria(download_url, chapter_dir, filename)
  File "/udemy-downloader/main.py", line 1417, in download_aria
    raise Exception("Return code from the downloader was non-0 (error)")
Exception: Return code from the downloader was non-0 (error)

Expected Result

rename new download as (1) example: abc.pdf, abc_1.pdf

Branch

master/main

What operating systems are you seeing the problem on?

Linux/Unix

Relevant log output

No response

Other information

No response

Puyodead1 commented 2 months ago

Are they not the same content?

moliberga commented 1 month ago

Are they not the same content?

no. they are different files.