persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.
https://persepolisdm.github.io
GNU General Public License v3.0
6.12k stars 647 forks source link

download problems #969

Closed B-Nerd closed 2 months ago

B-Nerd commented 2 months ago

System Details:

when i download it cuts away parts of the file name or leaves it blank Screenshot_20240412_011425 Screenshot_20240412_011438

edit also tested building from source same problem

alireza-delavari commented 2 months ago

System Details:

I have the same problem. It removes first and last character of file name. I checked source code and find this line: spider.py#L212

file_name = str(filename_splited[1:-1])

I changed to this and it worked correctly:

file_name = filename_splited.strip()

this two lines also has the same problem: spider.py#L88 spider.py#L152

I don't know why it was working correctly until a few days ago.