Data processing
Now that the data is extracted, it's time to process it and prepare for the final analysis.
The full_data
variable will contain a list of items, where a single item looks as follows:
{'etag': '"m2yskBQFythfE4irbTIeOgYYfBU/XgRZI3UhbKRFQZGd-n-2OCOKR8A"', 'id': 'z13jynay3seygpvzy04cef5r2tm5ihh4d0k', 'kind': 'youtube#commentThread', 'snippet': {'canReply': False, 'isPublic': True, 'topLevelComment': {'etag': '"m2yskBQFythfE4irbTIeOgYYfBU/jW3EfLcy4MnIFrtFloQEjokBPXU"', 'id': 'z13jynay3seygpvzy04cef5r2tm5ihh4d0k', 'kind': 'youtube#comment', 'snippet': {'authorChannelId': {'value': 'UCuJkT4Bsd1qiIQoI8Rbf_hg'}, 'authorChannelUrl': 'http://www.youtube.com/channel/UCuJkT4Bsd1qiIQoI8Rbf_hg', 'authorDisplayName': 'Vince / FCB', 'authorProfileImageUrl': 'https://yt3.ggpht.com/-9DZP7TJ0J- 4/AAAAAAAAAAI/AAAAAAAAAAA/dvUasDtmZFw/s28-c-k-no-mo-rj-c0xffffff/photo.jpg', 'canRate': False, 'likeCount': 0, 'publishedAt': '2017-05-06T17:52:51.000Z', 'textDisplay...