We would like to create mail parser for hotel reservation for a specific chain (for example: hilton).
We need to a node.js (v6) script which given an html file representing a confirmation mail from amoma(for example) will extract all booking relevant fields.
We suggest using require("textversionjs") to convert the html to a line by line text from which you can use regex rules to extract the fields or use require('cheerio') to extract fields using jquery.
Fields to extract: number of rooms, hotel address city and country, hotel geo location, hotel picture and link, manage link of the reservation, checkin and checkout date, last free cancel date, room type, price and currency, meal plan, adults and children number.
We will provide you with a Skelton parser to ease up the process.
We will provide a set of example reservation html files on which you should base the parser.