From 25fbeab72f19bd7c2cd1f9ab827f51e85b3a2d4c Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 4 Apr 2022 23:33:16 +1200 Subject: [PATCH 01/12] refactor: changed to web endpoint because youtube is breaking the android JSON API --- .../Comments/commentMainRenderer.vue | 87 ++++++++++ .../Comments/commentThreadRenderer.vue | 0 .../CompactRenderers/compactVideoRenderer.vue | 2 +- .../SectionRenderers/itemSectionRenderer.vue | 2 + .../slimVideoDescriptionRenderer.vue | 19 +-- .../videoWithContextRenderer.vue | 151 ++++++++++++++++++ NUXT/pages/watch.vue | 128 ++++++++++++--- NUXT/plugins/constants.js | 2 +- NUXT/plugins/innertube.js | 86 ++++++---- NUXT/plugins/renderers.js | 23 ++- NUXT/plugins/utils.js | 6 + 11 files changed, 431 insertions(+), 75 deletions(-) create mode 100644 NUXT/components/Comments/commentMainRenderer.vue create mode 100644 NUXT/components/Comments/commentThreadRenderer.vue create mode 100644 NUXT/components/gridRenderers/videoWithContextRenderer.vue diff --git a/NUXT/components/Comments/commentMainRenderer.vue b/NUXT/components/Comments/commentMainRenderer.vue new file mode 100644 index 0000000..c0b67f3 --- /dev/null +++ b/NUXT/components/Comments/commentMainRenderer.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/NUXT/components/Comments/commentThreadRenderer.vue b/NUXT/components/Comments/commentThreadRenderer.vue new file mode 100644 index 0000000..e69de29 diff --git a/NUXT/components/CompactRenderers/compactVideoRenderer.vue b/NUXT/components/CompactRenderers/compactVideoRenderer.vue index 89cf445..05cead0 100644 --- a/NUXT/components/CompactRenderers/compactVideoRenderer.vue +++ b/NUXT/components/CompactRenderers/compactVideoRenderer.vue @@ -32,7 +32,7 @@
-