- 'thumbnail': info.find('THUMB_URL').text,
- 'description': info.find('CONTENTS').text,
- 'duration': int_or_none(info.find('DURATION').text),
+ 'thumbnail': xpath_text(info, 'THUMB_URL'),
+ 'description': xpath_text(info, 'CONTENTS'),
+ 'duration': int_or_none(xpath_text(info, 'DURATION')),