diff --git a/src/procedure.js b/src/procedure.js index c2f3ced..e3f7dc4 100644 --- a/src/procedure.js +++ b/src/procedure.js @@ -46,10 +46,10 @@ module.exports = function procedure(options) { // Detailed options .post('https://daten.ktbl.de/feldarbeit/entry.html', { 'flaecheID': options.size, - 'bodenID': options.resistance, + // 'bodenID': options.resistance, 'hofID': options.distance, 'mengeID': options.amount, - 'arbeit': options.workingWidth, + // 'arbeit': options.workingWidth, 'state': '5' }) // scrape @@ -60,7 +60,6 @@ module.exports = function procedure(options) { const procedureNameNode = dom.window.document.getElementsByName('gId')[0] const machCombinationNode = dom.window.document.getElementsByName('avId')[0] - if (!procedureNameNode) return reject('Error in request, possibly query parameters dont match') const procedure = procedureNameNode.selectedOptions[0].text const procedureGroup = procedureGroupNode.selectedOptions[0].text