Skip to content

Link marked in file not working for links containing [ ] #135

@naxels

Description

@naxels

I've discovered that on rare occasions, the link in a text file is not marked #OK
even though the CLI says:

link marked in file `/storage/downloads/Files/in_process/file-to-download.txt' (#OK)

Reason seems to be (after testing) that his happens because the download link has [ ] in the link:
For example, rapidgator (tested)
https://rapidgator.net/file/id/file_[error].zip.html

The file downloads normally and reaches 100%, however the link is never marked #OK in the txt file

Steps to reproduce:

  • create a text file containing a download link with [ ]
  • call plowdown with:
    plowdown -x --fallback --min-rate 1250000 -m (text file location) -o (download location)

Expected:

  • Like other downloads, mark the link #OK in the text file.

UPDATE:
if the [ and ] are escaped (%5B for [ and %5D for ]), Plowdown works as expected and marks the link #OK
in both cases the CLI will stil report:

link marked in file `/storage/downloads/Files/in_process/file-to-download.txt' (#OK)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions