3

I installed Plowshare knowing that it can download rapidshare files from terminal, but if there are any parentheses () or brackets [] in the link then it can't download the link.

Can this problem be solved by any means? I mean by editing the configuration file or something?

LiveWireBT
  • 29,597
rim
  • 41

2 Answers2

4

This is because parentheses are a significant character to the shell, and this is a CLI utility.

Either enclose your link in single quotes (which prevents special characters being interpreted) or precede any special characters with a backslash (the "escape" character).

e.g.

plowshare 'my(link)'

plowshare my\(link\)

Adrian
  • 5,256
1

Such characters are supposed to be encoded for usage in URLs (known as percent-encoding or URL encoding). Browsers like Firefox show the URL in human readable form in the address bar, though when you copy it to the clipboard it is still encoded. There must be something wrong with either where you are getting the links from or plowshare needs a feature to convert and process those links correctly, like similar applications have.

In case of wget proper usage would look like this:

wget http://en.wikipedia.org/wiki/Batman_%28disambiguation%29

However putting link in single or double qoutes work, as well as escaping the characters in question with \:

wget 'http://en.wikipedia.org/wiki/Batman_(disambiguation)'
wget http://en.wikipedia.org/wiki/Batman_\(disambiguation\)

The latter one is the most time-consuming solution, as you have to know which characters to escape and it gets very messy pretty fast.

Of course I was searching for the mesh network routing protocol.

LiveWireBT
  • 29,597