@ -16,6 +16,9 @@
<div id="time_search_line" class="form_line">
<label for="start_time">Start time</label> <input id="start_time" type="datetime-local">
<label for="end_time">End time</label> <input id="end_time" type="datetime-local">
<label for="channel_select">Channel</label><select id="channel_select">
<option value="loadingreadyrun">loadingreadyrun</option>
</select>
<button id="search_button" onclick="doSearch()" type="button">Search</button>
</div>
@ -23,9 +23,10 @@ function query(text, start_time, end_time) {
query_string += "&limit=30";
fetch(`/buscribelrr/json?${query_string}`)
const channel = document.getElementById("channel_select").value;
fetch(`https://wubloader.raptorpond.com/buscribe/${channel}/json?${query_string}`)
.then(response => response.json())
// .then(response => console.log(response.error()))
.then(fillResults)
}