fix small parsing issues, updated static instance list

This commit is contained in:
ChunkyProgrammer 2023-10-25 00:31:07 -04:00
parent a8998b9269
commit bb6f32127f
2 changed files with 14 additions and 8 deletions

View File

@ -63,18 +63,19 @@ function parsePipedComments(comments) {
author: comment.author,
authorLink: comment.commentorUrl.replace('/channel/'),
authorThumb: comment.thumbnail,
comemntId: comment.commentId,
commentId: comment.commentId,
text: comment.commentText,
isPinned: comment.pinned,
isVerified: comment.verified,
numReplies: comment.replyCount,
likes: comment.likeCount,
isHearted: comment.isHearted,
isHearted: comment.hearted,
replyToken: comment.repliesPage,
isMember: false,
isOwner: false,
showReplies: false,
replies: [],
hasOwnerReplied: comment.creatorReplied,
time: toLocalePublicationString({
publishText: comment.commentedTime
})
@ -155,9 +156,10 @@ function parsePipedVideos(videoList) {
authorId: video.uploaderUrl.replace('/channel/', ''),
lengthSeconds: video.duration,
description: video.shortDescription,
uploaded: video.uploaded, // uploaded time stamp
publishedText: video.uploadedDate, // uploaded time stamp
viewCount: video.views,
thumbnail: video.thumbnail,
isVerified: video.uploaderVerified,
type: 'video'
}
})

View File

@ -1,10 +1,14 @@
[
"https://pipedapi.kavin.rocks",
"https://api-piped.mha.fi",
"https://pipedapi-libre.kavin.rocks",
"https://api.piped.privacydev.net",
"https://piped-api.lunar.icu",
"https://ytapi.dc09.ru",
"https://pa.il.ax",
"https://pipedapi.in.projectsegfau.lt",
"https://pipedapi.us.projectsegfau.lt",
"https://pipedapi.smnz.de",
"https://pipedapi.adminforge.de",
"https://pipedapi.qdi.fi",
"https://pipedapi.frontendfriendly.xyz"
"https://pipedapi.astartes.nl",
"https://pipedapi.simpleprivacy.fr",
"https://pipedapi.drgns.space",
"https://pipedapi.owo.si"
]