youtube fucking did it
This commit is contained in:
parent
0d954d43cd
commit
4bb425429d
@ -2,7 +2,7 @@
|
||||
"main": "plugin.js",
|
||||
"name": "urlreply",
|
||||
"description": "Fetch titles from web pages, specifically made for IRC",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"tags": ["irc"],
|
||||
"dependencies": [],
|
||||
"npmDependencies": ["cheerio@^1.0.0-rc.10"]
|
||||
|
@ -178,10 +178,10 @@ async function getYoutubeFromVideo(
|
||||
|
||||
if (vid.statistics && vid.statistics.likeCount != null) {
|
||||
const likeCount = vid.statistics.likeCount.toString();
|
||||
const dislikeCount = vid.statistics.dislikeCount.toString();
|
||||
// const dislikeCount = vid.statistics.dislikeCount.toString();
|
||||
|
||||
keys.push(['field', likeCount, { color: 'limegreen', label: ['▲', 'Likes'], type: 'metric' }]);
|
||||
keys.push(['field', dislikeCount, { color: 'red', label: ['▼', 'Dislikes'], type: 'metric' }]);
|
||||
// keys.push(['field', dislikeCount, { color: 'red', label: ['▼', 'Dislikes'], type: 'metric' }]);
|
||||
}
|
||||
|
||||
keys.push(['field', vid.snippet.channelTitle, { label: ['By'] }]);
|
||||
|
Loading…
Reference in New Issue
Block a user