Web Page manupilation

cobus

New member
Joined
Mar 22, 2020
Messages
1
Programming Experience
Beginner
I’ve got account with free classified ads.

I can programmatically log into the account but cannot fill in required fields.

The page starts of to select main category if selected it populates the sub category with options which in turn opens other options.

If I inspect the network the instance the main category is selected manually there is a get message sent to the server to populate sub category

For example:

Request URL:
Request Method:
GET
Status Code:
200 OK
Remote Address:
154.66.197.132:443
Referrer Policy:
no-referrer-when-downgrad
Dim request As HttpWebRequest = HttpWebRequest.Create(uri)

request.Method = WebRequestMethods.Http.Get

Dim response As HttpWebResponse = request.GetResponse()

Dim reader As New IO.StreamReader(response.GetResponseStream())

Dim tmp As String = reader.ReadToEnd()

response.Close()

MsgBox(tmp)

I get the information but not into the sub category box

Any help will be appreciated





Options for main cat.

<select class="form-control" id="category" name="category"><option selected="selected" value="">Select your Category</option><option value="17">Beauty &amp; Spas</option><option value="9">Building &amp; Construction</option><option value="4">Business &amp; Finance</option><option value="15">Community</option><option value="12">Education</option><option value="3">Employment</option><option value="7">Event Planning</option><option value="20">Farming</option><option value="19">Healthcare</option><option value="18">Holidays &amp; Travel</option><option value="10">Home &amp; Garden</option><option value="21">Industry</option><option value="16">Leisure</option><option value="11">Pets</option><option value="2">Property</option><option value="14">Public Services</option><option value="8">Restaurants &amp; Nightlife</option><option value="6">Shopping</option><option value="13">Sports &amp; Outdoors</option><option value="5">Technology</option><option value="1">Vehicles</option></select>

Options for sub cat.

<select class="form-control" display="none" id="sub_category" name="sub_category"><option value="0">Select your Sub-Category</option></select>
</div>
Print screen
 

Attachments

  • ThinkLocal.jpg
    ThinkLocal.jpg
    86 KB · Views: 7
Top Bottom