finding teh search url of a website

This is the place for queries that don't fit in any of the other categories.

finding teh search url of a website

Postby metulburr » Sat Jun 29, 2013 1:15 am

how do you find the search url of a website. The best way i found is to search for something, and then see what the url shows, and then grab it fro mthere. Sometimes though the url does not do this, and you search and the url stays the same. However i luckily came across the url somehow which the search in it, it was in a different directory changing the url completely. If i didnt come across it, i would of never of found it. Is there a better method to quickly finding the search url of a website?

an example of what i am talking about is this site:
http://www.webmd.com/diet/healthtool-fo ... ie-counter

when you search this site, the url stays the same, somehow i came across the fact that to search with a url, the path is:
http://www.webmd.com/diet/healthtool-fo ... ARCHSTRING

Sometimes i just randomly check ?s=, ?search=, ?q=, ?query=, but it is a complete guess though. IT would be nice to have a rock solid method of finding this path or in this case the search value
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1416
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: finding teh search url of a website

Postby micseydel » Sat Jun 29, 2013 4:29 am

If you're talking about automatically parsing code on a website, you'd look for <form>s. Also, you can read up between the difference between GET and POST requests to get a better idea of what you're looking at.
Join the #python-forum IRC channel on irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1266
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA


Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot] and 3 guests