persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.

Home Page:https://persepolisdm.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

download problems

B-Nerd opened this issue · comments

System Details:

  • Operating System: Linux
  • Distro(For GNU/Linux and BSD users): [Arch Linux]
  • Desktop Environment(For GNU/Linux and BSD users): KDE Plasma 6
  • Persepolis Version: 4.0.1-1
  • How do you install Persepolis? Arch Repositories

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

System Details:

  • Linux Ubuntu 22.04, Gnome
  • Persepolis Version: currently last commit (4a58c1a)
  • How do you install Persepolis? build from source code

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.