persepolisdm / persepolis

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

Stripped Filenames when adding links from a txt file #865

Open amirgi73 opened 3 years ago

amirgi73 commented 3 years ago

System Details:

Issue Description and steps to reproduce:

Persepolis strips long file names when importing links from a text file

Steps to reproduce:

  1. Paste download links into a text file
  2. import links to Persepolis from File menu.
  3. Start Download
  4. File name is stripped. (The first and the last character will be deleted) for example if the original name is The_Mandalorian_S01E05_10bit_x265_1080p_WEBRip_6CH_PSA_30NAMA.mkv, downloaded file will be named he_Mandalorian_S01E05_10bit_x265_1080p_WEBRip_6CH_PSA_30NAMA.mk

log file is attached. persepolisdm.log

chriswyatt commented 3 years ago

What line endings does the file use? A hex editor or decent text editor should be able to tell you.

amirgi73 commented 3 years ago

What line endings does the file use? A hex editor or decent text editor should be able to tell you.

The text file uses UNIX line endings (\n)