Search found 4 matches

by vipiish
Thu Nov 07, 2013 10:04 pm
Forum: FlashGot Development
Topic: Bug: trailing spaces in some argument values
Replies: 5
Views: 5483

Re: Bug: trailing spaces in some argument values

Took me a while to find the source for the problem, but perhaps this suffices... (at least it worked with aria2c.): In chrome/flashgot.jar/content/flashgot/DMS.js, replace: return (/[;&=]/.test(s) && !/\s/.test(s)) // "=" and ";" are command line separators on win!!! ...
by vipiish
Wed Nov 06, 2013 8:34 pm
Forum: FlashGot Development
Topic: Bug: trailing spaces in some argument values
Replies: 5
Views: 5483

Re: Bug: trailing spaces in some argument values

Thanks for the quick response. I could be wrong, but perhaps I should add, that sometimes, for whatever reason, it DOES seem to pass the proper value(s) without trailing spaces inside the quotes. But this is definitely a consistent error with YouTube links at the very least (and this is only an exam...
by vipiish
Wed Nov 06, 2013 6:01 pm
Forum: FlashGot Development
Topic: Bug: trailing spaces in some argument values
Replies: 5
Views: 5483

Bug: trailing spaces in some argument values

This bug applies to URL and REFERER and possibly other values. E.g.: "http://www.example.com/abc.html " This is revealed if I pass the arguments to a batch (.bat) file and print out the arguments (ECHO %*). And this causes an error with e.g. aria2c with URLs because it will assume it is in...
by vipiish
Mon Oct 07, 2013 1:06 am
Forum: FlashGot Development
Topic: Pass suggested filename with "FlashGot Link"
Replies: 0
Views: 2568

Pass suggested filename with "FlashGot Link"

Hi. I have FlashGot configured to run with aria2c, but I use a custom batch file to do a little bit more than what aria2c does by itself. In the batch I need four input arguments to do what I want; a directory to download to ([FOLDER]), the suggested filename ([FNAME]), the path to where cookies are...