Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
naxels opened this issue Oct 31, 2024 · 0 comments
Open

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

naxels opened this issue Oct 31, 2024 · 0 comments

Comments

@naxels
Copy link

naxels commented Oct 31, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant