Comment analytics tool for YouTube videos
AGPL-3.0 License
Mint is a self-hosted comment analytics tool for YouTube videos.
docker pull umitkaanusta/mint-youtube
docker run -p 5000:5000 -d umitkaanusta/mint-youtube
cd
to the repo's directorydocker build -t mint-youtube .
docker run -p 5000:5000 -d mint-youtube
pip install -r requirements.txt
/report?video_id=<video_id>&lang=<language>&yt_api_key=<api_key>
/test?lang=<language>
/api/report?video_id=<video_id>&lang=<language>&yt_api_key=<api_key>
/api/test-report?lang=<language>
/api/channel-report?channel_id=<channel_id>&lang=<language>&max_results=<max_results>&order_by=<order_by>&yt_api_key=<api_key>
order_by
accepts the following: date, rating, title, viewCount
order_by
is set to relevance
by defaultMint uses youtube-data-api as a Python wrapper of the YouTube Data API v3. The package gives the following error on some cases:
"commenter_channel_id" : item['snippet'].get('authorChannelId').get('value', None),
AttributeError: 'NoneType' object has no attribute 'get'
Our suggested band-aid solution:
"commenter_channel_id" : None,
@misc{leon_yin_2018_1414418,
author = {Leon Yin and
Megan Brown},
title = {SMAPPNYU/youtube-data-api},
month = sep,
year = 2018,
doi = {10.5281/zenodo.1414418},
url = {https://doi.org/10.5281/zenodo.1414418}
}