Couldn't this be replaced with "data = content.json()[0]['data']['children'][0]['data']".
This would make the following code simpler and increase the speed a bit, as fetching from dicts takes time.