I want to get all GET and POST parameters from Web Page. Let’s say there is some web page. I can get all links from this page. But if this page takes input parameters (GET and POST) how can I get them? My algorithm is like this:
find in web page this type of strings <form method="GET">...</form>;
then for each found result:
get <input> fields and construct request
then save it somewhere
My purpose is to write crawler which gets all links, GET and POST parameters from web site and then save it somewhere for further analysis. My algorithm is simple, so I want to know is there any other way (in python)? Can you recommend any python libraries?
How about something like this to get you started? It pulls out forms and input attributes:
Output (for this page):