YouTube metadata utility that outputs things into excel format, written in Go. The original metadata utility was written in Python. I'm rewriting this one in Go because of the flexibility and native binary support, instead of having to create a virtual environment everytime the program needs to be run. Also, Go is just awesome.
As of right now, this project uses these packages:
- github.com/kkdai/youtube/v2
- github.com/xuri/excelize/v2
I'm using my own edited version of the youtube package. This can be seen via the initial commit:
Please note: I edited the video.go files to include a new field for type Video struct. This adds the ViewCount field, taken from response_data.go. After adding this field, I refractored the method extractDataFromPlayerResponse and added:
v.ViewCount = prData.VideoDetails.ViewCount
This lets me pull view count