mirror of https://github.com/VueTubeApp/VueTube
refactor!: switched comments to be using the desktop web api
This commit is contained in:
parent
0ed974e577
commit
2ad58fbed4
|
@ -21,7 +21,7 @@
|
||||||
<div class="comment-content--header">
|
<div class="comment-content--header">
|
||||||
<h3 class="author-name--wrapper">
|
<h3 class="author-name--wrapper">
|
||||||
<span class="font-weight-bold subtitle-2 pr-1 author-name" emoji>
|
<span class="font-weight-bold subtitle-2 pr-1 author-name" emoji>
|
||||||
{{ commentRenderer.authorText.runs[0].text }}
|
{{ commentRenderer.authorText.simpleText }}
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
<span
|
<span
|
||||||
|
|
|
@ -13,7 +13,8 @@ const ytApiVal = {
|
||||||
VERSION: "16.25",
|
VERSION: "16.25",
|
||||||
CLIENTNAME: "ANDROID",
|
CLIENTNAME: "ANDROID",
|
||||||
VERSION_WEB: "2.20220411.09.00",
|
VERSION_WEB: "2.20220411.09.00",
|
||||||
CLIENT_WEB: 2,
|
CLIENT_WEB_M: 2,
|
||||||
|
CLIENT_WEB_D: 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
const filesystem = {
|
const filesystem = {
|
||||||
|
|
|
@ -159,7 +159,7 @@ class Innertube {
|
||||||
...{
|
...{
|
||||||
context: {
|
context: {
|
||||||
client: {
|
client: {
|
||||||
clientName: constants.YT_API_VALUES.CLIENT_WEB,
|
clientName: constants.YT_API_VALUES.CLIENT_WEB_M,
|
||||||
clientVersion: constants.YT_API_VALUES.VERSION_WEB,
|
clientVersion: constants.YT_API_VALUES.VERSION_WEB,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -152,7 +152,7 @@ const innertubeModule = {
|
||||||
...contextAdditional,
|
...contextAdditional,
|
||||||
...{
|
...{
|
||||||
client: {
|
client: {
|
||||||
clientName: constants.YT_API_VALUES.CLIENT_WEB,
|
clientName: constants.YT_API_VALUES.CLIENT_WEB_D,
|
||||||
clientVersion: constants.YT_API_VALUES.VERSION_WEB,
|
clientVersion: constants.YT_API_VALUES.VERSION_WEB,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue