Hi,
im a webdevelopment noob and am not really developing a website or anything but am trying to write a program that sends info (like traveldate etc) to travelsites and evaluates the prices the sites show in return.
Now i started with this site:
[url]www.skyscanner.de
[code=html]<form action=”/r/Search/” class=”clearfix” id=”search-controls-form” [B]method=”post”[/B]> <div class=”row”>
<div class=”two-col-layout” id=”departure”>
<label for=”departure-input”>Von</label>
<input name=”departure-input” id=”departure-input” tabindex=”1″ type=”text” list=”departure-list” autocomplete=”off” placeholder=”Land, Stadt oder Flughafen eingeben”
autocorrect=”off” autocapitalize=”off” spellcheck=”false”>
<span id=”departure-input-helper” class=”input-helper”></span>
</div>
<span id=”controls-swap” title=”Klicken Sie hier, um den Abreise- und Ankunftsort zu tauschen.”>
<span class=”hidden”>Klicken Sie hier, um den Abreise- und Ankunftsort zu tauschen.</span>
</span>
<div class=”two-col-layout” id=”destination”>
<span id=”map-anchor”><a href=”/karte-fuer-billigfluege”>Karte</a></span>
<label for=”destination-input”>Nach</label>
<input name=”destination-input” id=”destination-input” tabindex=”2″ type=”text” list=”destination-list” autocomplete=”off” placeholder=”Land, Stadt oder Flughafen eingeben”
autocorrect=”off” autocapitalize=”off” spellcheck=”false”>
<span id=”destination-input-helper” class=”input-helper”></span>
<div id=”prefer-directs-toggle” class=”clearfix”>
<input type=”checkbox” tabindex=”3″ name=”prefer-directs” id=”prefer-directs-input”>
<label for=”prefer-directs-input”>Direktverbindung bevorzugt</label>
</div>
</div>
</div>
<div class=”row”>
<div id=”journey-details”>
<div id=”journey-type-toggle” class=”clearfix”>
<input type=”radio” tabindex=”4″ value=”1″ name=”journey-type” id=”journey-type-return” checked=”checked”>
<label for=”journey-type-return”>Rückreise</label>
<input type=”radio” tabindex=”4″ value=”0″ name=”journey-type” id=”journey-type-oneway”>
<label for=”journey-type-oneway”>Nur Hinreise</label>
</div>
<div id=”journey-date-container” class=”clearfix”>
<p class=”label”>Hinreise</p>
<div class=”journey-date”>
<label for=”departure-date-calendar” class=”hide”>Abreisedatum</label>
<input name=”departure-date-calendar” id=”departure-date-calendar” tabindex=”5″ class=”datepicker” autocomplete=”off” type=”text” placeholder=”Abreisedatum”>
<span id=”depart-date-desc” class=”label”></span>
</div>
<div class=”journey-date journey-date-return”>
<label for=”return-date-calendar” class=”hide”>Rückreisedatum</label>
<input name=”return-date-calendar” id=”return-date-calendar” class=”datepicker” tabindex=”6″ autocomplete=”off” type=”text” placeholder=”Rückreisedatum”>
<span id=”return-date-desc” class=”label”></span>
</div>
</div>
</div>
<div id=”cabin-class-passenger-info-container” class=”clearfix”>
<div id=”passenger-container” class=”clearfix”>
<div id=”passenger-number-container” class=”clearfix”>
<p class=”label”>Reisende</p>
<div class=”passenger-info”>
<span class=”passenger-adult”><input type=”number” pattern=”d+” tabindex=”7″ maxlength=”1″ value=”1″ id=”passenger-info-adult”></span>
<label for=”passenger-info-adult”>12+ Jahre</label>
</div>
<div class=”passenger-info”>
<span class=”passenger-child”><input type=”number” pattern=”d+” tabindex=”8″ maxlength=”1″ value=”0″ id=”passenger-info-child”></span>
<label for=”passenger-info-child”>unter 12</label>
</div>
<div class=”passenger-info passenger-info-last”>
<span class=”passenger-infant”><input type=”number” pattern=”d+” tabindex=”9″ maxlength=”1″ value=”0″ id=”passenger-info-infant”></span>
<label for=”passenger-info-infant”>unter 2</label>
</div>
</div>
</div>
<div id=”cabin-class-container” class=”clearfix”>
<p class=”label”>Kabinenklasse</p>
<select id=”cabin-class” tabindex=”10″>
<option value=”Economy”>Economy</option>
<option value=”PremiumEconomy”>Premium Economy</option>
<option value=”Business”>Business Class</option>
<option value=”First”>First Class</option>
</select>
</div>
</div>
</div>
<div id=”search-ancillaries” class=”row last clearfix”>
<ul id=”search-compare-units” class=”compare-units-container icon-free-list clearfix hide”>
<li class=”label”>Preis-Check (neue Fenster)</li>
<li class=”template”>
<input id=”compare-unit-key” class=”compare-unit-checkbox compare-unit-key” tabindex=”11″ type=”checkbox”>
<label for=”compare-unit-key”>labelValue</label>
</li>
</ul>
<div id=”search-controls-container”>
<button tabindex=”20″ type=”submit” id=”search-controls-button” class=”large-button”>
<span class=”button-text”>Suchen</span>
<span class=”button-spinner”> </span>
</button>
</div>
</div>
</form>
I tried using fiddler 2, firefoxes own network analysis tools and firebug to find out what info the post-command actually sends but i only see “get” requests once i hit the “submit” button.
How is this possible? and how can i find out what infos to send?
Thanks for any help ?