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
we will be moving to python-forum.io on October 1 2016
more details here
User avatar
metulburr
 
Posts: 2231
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.
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
micseydel
 
Posts: 2997
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA


Return to General Coding Help

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests