mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-05-26 12:32:25 +00:00
Set user-agent for invidious.snopyta ID
This commit is contained in:
parent
c419aa90da
commit
98ee77def4
5 changed files with 21 additions and 6 deletions
|
|
@ -39,7 +39,7 @@ function lengthSecondsToLengthText(seconds) {
|
|||
*/
|
||||
function normaliseVideoInfo(video) {
|
||||
if (!video.second__lengthText && video.lengthSeconds > 0) {
|
||||
video.second__lengthText = converters.lengthSecondsToLengthText(video.lengthSeconds)
|
||||
video.second__lengthText = lengthSecondsToLengthText(video.lengthSeconds)
|
||||
}
|
||||
if (!video.second__lengthText && video.lengthSeconds === 0) {
|
||||
video.second__lengthText = "LIVE"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue