Search found 27 matches

by flashgot.user
Tue Sep 12, 2017 4:14 am
Forum: FlashGot Development
Topic: Bug: Checkbox not visible for selecting Media Download
Replies: 2
Views: 89892

Re: Bug: Checkbox not visible for selecting Media Download

Try this one?

Code: Select all

http://www91.zippyshare.com/v/XXcljM8j/file.html
by flashgot.user
Sat Sep 19, 2015 12:43 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Well, [POST] still works as before, and it's enough in 99.(9)% cases. (And in case you didn't know it, 99.(9)=100. :) Proof: http://www.youtube.com/watch?v=TINfzxSnnIE )
by flashgot.user
Tue Sep 15, 2015 6:42 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

MoSal wrote:Is flashgot with working RAWPOST ever going to be available in AMO?

In case you've lost the version I uploaded before, I can reupload it. And if you haven't, why do you even care about AMO?
by flashgot.user
Tue Mar 24, 2015 2:46 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Did you read this thread? It only looks like an extra space because runNative uses args.join(" ") for logging, but in fact, the second ";;;" (the one after the placeholder name) went to a different argument because it was captured in m[5]. And the reason it went "missing&quo...
by flashgot.user
Thu Mar 19, 2015 5:25 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Meh, forgot to remove some debug logging leftovers. This version should be clean:

Code: Select all

http://rghost.net/private/8wcv4XgJL/bdc170463cdb1e32b1bc41e19b88171a
by flashgot.user
Thu Mar 19, 2015 3:25 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Yes, [HEADER] is a "flattened" alternative to [HEADERS]. It's for those who want one header per argument, e.g. aria2. As for the "missing" space, I guess it's time to fork for me. This version comes with all the extra spaces you'll ever need. But without the [HEADER] placeholder ...
by flashgot.user
Wed Mar 18, 2015 8:44 pm
Forum: FlashGot Development
Topic: Command line arguments
Replies: 1
Views: 1498

Re: Command line arguments

Nope, making m[4] greedy matches too much. Here's a new regexp - using [^\s\]]* for m[4]: var rx = new RegExp("\\[([\\s\\S]*?)(\\S*)\\b(" + this.PLACEHOLDERS.join("|") + ")\\b([^\\s\\]]*)([\\s\\S]*?)\\]"); Test - I'm keeping the previous regexp (re2) to show where it do...
by flashgot.user
Wed Mar 18, 2015 8:36 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Looks like you have autostart enabled, and I don't. I couldn't make autostart work, so you'll have to test it for me.

Code: Select all

http://rghost.net/private/84h9sZlGg/2c16726a4d25cf97648b586a03f4c407
by flashgot.user
Wed Mar 18, 2015 5:22 pm
Forum: FlashGot Development
Topic: Command line arguments
Replies: 1
Views: 1498

Command line arguments

Giorgio , I think the regexp in FlashGotDMCust.makeArgs is broken. var rx = new RegExp("\\[([\\s\\S]*?)(\\S*)\\b(" + this.PLACEHOLDERS.join("|") + ")\\b(\\S*?)([\\s\\S]*?)\\]"); From what I managed to understand from the commentless :P code, it was supposed to allow th...
by flashgot.user
Wed Mar 18, 2015 11:24 am
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Weird. It's extracted fine, but then gets lost somewhere, and I have no idea where or why. I added more logging, can you try it and show the log? Also, try [HEADERS] - it's also multiline, maybe this has something to do with it. http://rghost.net/private/7YmxFH6d7/68e989df63e16898cb7b280e23fb392f He...
by flashgot.user
Mon Mar 16, 2015 12:08 am
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Are you testing with an HTML form or with an XMLHttpRequest? Because the latter doesn't contain headers in its upload stream. Anyway, I'll need your log produced by this version: http://rghost.net/private/6jlN6NpwD/dfcbeb58cade67e99a69c0e64e317057 Giorgio , don't merge this one yet. It does some deb...
by flashgot.user
Sun Mar 15, 2015 4:41 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

[HEADERS] are supposed to always be empty because they weren't supposed to contain any POST-related headers. They were only used with grooveshark.com, and now they're useless because they finally fixed that loophole. [RAWPOST] works for me. My command line is: -url [URL] [-post POST] [-rawpost RAWPO...
by flashgot.user
Fri Mar 13, 2015 10:57 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Well, here we go, 2 new placeholders: [RAWPOST] - POST data with all the POST-related headers injected by the browser: "Content-Type: ... \r\nContent-Length: ... \r\n\r\n<POST data>". [HEADERS] - extra request headers, each terminated with "\r\n", e.g. "X-tra-header: foo\r\n...
by flashgot.user
Fri Mar 13, 2015 6:58 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

I just realised that I forgot to add a placeholder for extra headers. This is where those POST-related headers could also go.
Giorgio, what do you think?
by flashgot.user
Fri Mar 13, 2015 5:52 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 8025

Re: POST data includes headers

Well, for a multipart POST scenario, just set enctype="multipart/form-data" for your test form. You (the downloader) still get the POST data, but you will need to parse it, i.e. to look for the presence of "\r\n" in it, and if it's there, get the boundary (the first line of the P...