YipitData interview question

Parsing news data assignment. Straightforward