'This will extract all the details from the xls sheet'

def read_timings_sheet(self, workbook):

    sheet = workbook.sheet_by_name('Timings')
    summary = {}
    RED = 10
    num_cells = sheet.ncols
    summary['date'] = []
    for col in range(1, num_cells):
        summary['date'].append(sheet.cell_value(0, col))
    for row in range(1, sheet.nrows):
        url = sheet.cell_value(row, 0)
        summary[url] = []
        for col in range(1, num_cells):
            duration = sheet.cell_value(row, col)
            xf = sheet.cell_xf_index(row, col)
            bg = workbook.xf_list[xf].background
            broken = (bg.pattern_colour_index == RED)
            summary[url].append((duration, broken))
    return summary
