Oligomers thermal extraction by pyrolysis