fix stuff
This commit is contained in:
parent
fc3e629541
commit
0d105e9561
@ -240,7 +240,7 @@ function channelurlfixer(text) {
|
|||||||
|
|
||||||
const getChannelData = async (url) => {
|
const getChannelData = async (url) => {
|
||||||
try {
|
try {
|
||||||
return await fetch(url + "&h=truer", {
|
return await fetch(url, {
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent': config.useragent,
|
'User-Agent': config.useragent,
|
||||||
},
|
},
|
||||||
@ -255,27 +255,27 @@ function channelurlfixer(text) {
|
|||||||
const apiUrl = config.invapi + "/channels/";
|
const apiUrl = config.invapi + "/channels/";
|
||||||
const channelUrl = `${apiUrl}${ID}/${atob(
|
const channelUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.videos
|
ChannelTabs.videos
|
||||||
)}?sort_by=${sort_by}${continuation}`;
|
)}?sort_by=${sort_by}${continuation}&h=yeahyeahy`;
|
||||||
|
|
||||||
const shortsUrl = `${apiUrl}${ID}/${atob(
|
const shortsUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.shorts
|
ChannelTabs.shorts
|
||||||
)}?sort_by=${sort_by}${continuation}`;
|
)}?sort_by=${sort_by}${continuation}&h=yeah`;
|
||||||
|
|
||||||
const streamUrl = `${apiUrl}${ID}/${atob(
|
const streamUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.streams
|
ChannelTabs.streams
|
||||||
)}?sort_by=${sort_by}${continuation}`;
|
)}?sort_by=${sort_by}${continuation}&h=yee`;
|
||||||
|
|
||||||
const communityUrl = `${apiUrl}${ID}/${atob(
|
const communityUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.community
|
ChannelTabs.community
|
||||||
)}?hl=en-US`;
|
)}?hl=en-US&h=ye`;
|
||||||
|
|
||||||
const PlaylistUrl = `${apiUrl}${ID}/${atob(
|
const PlaylistUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.playlist
|
ChannelTabs.playlist
|
||||||
)}?hl=en-US`;
|
)}?hl=en-US&h=ye`;
|
||||||
|
|
||||||
const releasesUrl = `${apiUrl}${ID}/releases?hl=en-US`;
|
const releasesUrl = `${apiUrl}${ID}/releases?hl=en-US&h=y`;
|
||||||
|
|
||||||
const channelINVUrl = `${apiUrl}${ID}/`;
|
const channelINVUrl = `${apiUrl}${ID}/?h=ye`;
|
||||||
|
|
||||||
const pronoun = "no pronouns :c";
|
const pronoun = "no pronouns :c";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user