Below fixlet i tried but Debugger shows an error in line 1, unsure what is wrong
wget --no-check-certificate --output-document=/tmp/dell_warranty.html "https://www.dell.com/support/home/us/en/04/product-support/servicetag/[serial number of current system]/warranty"
if {exists file "/tmp/dell_warranty.html"}
then
regsub -all {<[^>]*>} "" (cat "/tmp/dell_warranty.html") >>"/tmp/dell_warranty_status.txt"
else
"Unable to check Dell warranty status" >>"/tmp/dell_warranty_status.txt"
endif
Result:
/tmp/dell_warranty_status.txt