From 237997c565f0d284ae4d6b30033fcd29865c7386 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Sat, 16 Apr 2022 07:16:27 +0530 Subject: [PATCH 1/4] FAQ - improve accuracy of count && minor typo fix --- Website/pages/faq.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Website/pages/faq.vue b/Website/pages/faq.vue index 1df8900..5fbecd5 100644 --- a/Website/pages/faq.vue +++ b/Website/pages/faq.vue @@ -36,13 +36,18 @@ export default { { question: "Where does the extension get its data?", answer: - "A combination of archived data from before the offical YouTube dislike API shut down, and extrapolated extension user behavior.", + "A combination of archived data from before the official YouTube dislike API shut down, and extrapolated extension user behavior.", }, { question: "Why isn't the dislike count updating?", answer: "Right now video dislikes are cached and they aren't updated very frequently. It varies depending on a video's popularity but can take anywhere between a few hours and a few days to update.", }, + { + question: "Why is the dislike count on my videos inaccurate?", + answer: + "Extrapolated data tends to get better with the increase in diversity and the quantity of voters. \nTo ensure and increase the accuracy of the extrapolated vote data for your videos, you can ask your viewers to uses this extension (or any app that submits votes to returnyoutubedislikeapi.com) ", + }, { question: "How does this work?", answer: From 4ded89c61508195507f0188726024ac5726de1bc Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Sat, 16 Apr 2022 07:42:47 +0530 Subject: [PATCH 2/4] Remove unnecessary escape character, failing check fixed ``` \return-youtube-dislike\Website\pages\index.vue 129:198 error Unnecessary escape character: \/ no-useless-escape ``` --- Website/pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/pages/index.vue b/Website/pages/index.vue index 713cad4..f1a26a6 100644 --- a/Website/pages/index.vue +++ b/Website/pages/index.vue @@ -123,7 +123,7 @@ export default { }; }, mounted() { - const YOUTUBE_REGEX = /(?:http:|https:)*?\/\/(?:www\.|)(?:youtube\.com|m\.youtube\.com|youtu\.|youtube-nocookie\.com).*(?:v=|v%3D|v\/|(?:a|p)\/(?:a|u)\/\d.*\/|watch\?|vi(?:=|\/)|\/embed\/|oembed\?|be\/|e\/)([^&?%#\/\n]*)/; + const YOUTUBE_REGEX = /(?:http:|https:)*?\/\/(?:www\.|)(?:youtube\.com|m\.youtube\.com|youtu\.|youtube-nocookie\.com).*(?:v=|v%3D|v\/|(?:a|p)\/(?:a|u)\/\d.*\/|watch\?|vi(?:=|\/)|\/embed\/|oembed\?|be\/|e\/)([^&?%#/\n]*)/; let lastVideoId = ""; window.oninput = (e) => { const videoId = (e.target.value.match(YOUTUBE_REGEX) || {})[1] || e.target.value; From 23b1c0446c49ec1f0c3033b596f19f978496c6a3 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Sat, 16 Apr 2022 07:52:47 +0530 Subject: [PATCH 3/4] Update faq.vue --- Website/pages/faq.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/pages/faq.vue b/Website/pages/faq.vue index 5fbecd5..ae41236 100644 --- a/Website/pages/faq.vue +++ b/Website/pages/faq.vue @@ -46,7 +46,7 @@ export default { { question: "Why is the dislike count on my videos inaccurate?", answer: - "Extrapolated data tends to get better with the increase in diversity and the quantity of voters. \nTo ensure and increase the accuracy of the extrapolated vote data for your videos, you can ask your viewers to uses this extension (or any app that submits votes to returnyoutubedislikeapi.com) ", + "Extrapolated data tends to get better with the increase in diversity and the quantity of voters. \nTo ensure and increase the accuracy of the extrapolated vote data for your videos, you can encourage your viewers to uses this extension (or any app that submits votes to returnyoutubedislikeapi.com) ", }, { question: "How does this work?", From 8c5c505efc356f9fde354bee648f56a024ccf541 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Sat, 16 Apr 2022 09:33:34 +0530 Subject: [PATCH 4/4] typo fixed in faq.vue uses --> use --- Website/pages/faq.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/pages/faq.vue b/Website/pages/faq.vue index ae41236..af0741d 100644 --- a/Website/pages/faq.vue +++ b/Website/pages/faq.vue @@ -46,7 +46,7 @@ export default { { question: "Why is the dislike count on my videos inaccurate?", answer: - "Extrapolated data tends to get better with the increase in diversity and the quantity of voters. \nTo ensure and increase the accuracy of the extrapolated vote data for your videos, you can encourage your viewers to uses this extension (or any app that submits votes to returnyoutubedislikeapi.com) ", + "Extrapolated data tends to get better with the increase in diversity and the quantity of voters. \nTo ensure and increase the accuracy of the extrapolated vote data for your videos, you can encourage your viewers to use this extension (or any app that submits votes to returnyoutubedislikeapi.com) ", }, { question: "How does this work?",