Hello everyone,
I'm looking for help, I had previously a working node that was pulling 6 times every day on a website and writing on a file called timex.txt The website implemented some security I'm unable to query but the webpage has option to export the full calendar year with the 6 times daily. Can someone assist me creating a node?
Current setup which stopped working
[{"id":"25204c8da7c94154","type":"tab","label":"Diyanet Namaz Vakitleri","disabled":false,"info":"","env":[]},{"id":"af97dd1eb36b36c8","type":"inject","z":"25204c8da7c94154","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"15 00 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":40,"wires":[["b9bd128be5681bc5"]]},{"id":"b9bd128be5681bc5","type":"http request","z":"25204c8da7c94154","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://namazvakitleri.diyanet.gov.tr/tr-TR/9132/montreal-icin-namaz-vakti","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"User-Agent","keyValue":"","valueType":"other","valueValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0"}],"x":250,"y":100,"wires":[["c1d11906950c26ff"]]},{"id":"c1d11906950c26ff","type":"html","z":"25204c8da7c94154","name":"html select","property":"payload","outproperty":"payload","tag":"td","ret":"text","as":"single","chr":"","x":390,"y":160,"wires":[["1a4a36bc8fda9e9c"]]},{"id":"1a4a36bc8fda9e9c","type":"template","z":"25204c8da7c94154","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"time\":[\"{{payload.2}}\",\"{{payload.3}}\",\"{{payload.4}}\",\"{{payload.5}}\",\"{{payload.6}}\",\"{{payload.7}}\"],\"date\":\"{{payload.0}}\"}","output":"str","x":520,"y":220,"wires":[["f127216b9eb82840"]]},{"id":"f127216b9eb82840","type":"file","z":"25204c8da7c94154","name":"","filename":"/homeassistant/times.txt","filenameType":"str","appendNewline":true,"createDir":false,"overwriteFile":"true","encoding":"none","x":690,"y":280,"wires":[[]]}]
Because the website is now secure, I exported the calendar to cvs file which is in this format
I would like to have a node that look on this file everyday at 00:01 and take the 6 hours and write in timex.txt file
Thank you in advance!