Wget / Curl question regarding php address

crashbelow

Junior Member
Nov 4, 2011
4
0
0
Hi,

I've been searching all over for an answer to this:

The following website has a gallery of thumbnails which link to full photos, but because of the arguments within the address, I cannot figure out how to download all the images contained within the gallery.

I know how to "log in" to the website but wget and curl tell me the arguments following "content.php?" are unrecognized. Please help?

ttp://www.website.com/members/content.php?show=galleries&gallery=398&section=1

P.S. I read somewhere about putting quotes around the address but was unable to get it to work with that either.
 

PowerYoga

Diamond Member
Nov 6, 2001
4,603
0
0
Did you check if any of the url has escape characters? I know & has to be escaped to &.
 

crashbelow

Junior Member
Nov 4, 2011
4
0
0
its still not working, giving me an error for the "gallery" and "section" stuff as unrecognized commands, can someone give me an example of a working command to download a gallery from a php site in wget or curl? thank you
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
The & is being interpreted by your shell instead of being included in your query string to the web server. You need to put the entire URL inside of "" like "http://website/path.php?query_string=&more="
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
I've been searching all over for an answer to this:

The following website has a gallery of thumbnails which link to full photos, but because of the arguments within the address, I cannot figure out how to download all the images contained within the gallery.
Heh! Now I have advice... :D

I was just *thinking*. If all you want to do is download all the pics, why don't you just use dTa?

Linkage: http://mysoftchoice.com/c/Download_Tools/DownThemAll_vs_wget

Read the description for dTa...

DownThemAll (or just dTa) is a powerful yet easy-to-use Mozilla Firefox extension that adds new advanced download capabilities to your browser.

DownThemAll lets you download all the links or images contained in a webpage and much more: you can refine your downloads by fully customizable criteria to get only what you really want.

DownThemAll is all you can desire from a download manager: it features an advanced accelerator that increases speed up to 400%, it allows you to pause and resume downloads at any time and, last but not least, it's fully integrated into your favorite browser!
 

crashbelow

Junior Member
Nov 4, 2011
4
0
0
I might try the download all for just getting images- thanks VinDSL. I would rather have the full website copied.

I was able to download parts of the website but not all with wget - the php style is what is making me confused.

I would LOVE to download the full website that's at http://www.website.com/members/ (i know how to use login/password with php) but keep getting invalid arguments and such.

Is there a working method for downloading the full website and following ONLY links within the website where some of the pages are php? The arguments in the web address are my main confusion.