mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Clean Code
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
function parseVideo(data) {
|
||||
|
||||
// logger.info(`Avant parse: ${JSON.stringify(data, null, 2)}`);
|
||||
|
||||
return {
|
||||
type: "video",
|
||||
// id: data.id,
|
||||
@@ -15,9 +13,7 @@ function parseVideo(data) {
|
||||
}
|
||||
|
||||
function parsePlaylist(data) {
|
||||
|
||||
// logger.info(`Avant parse: ${JSON.stringify(data, null, 2)}`);
|
||||
|
||||
|
||||
return {
|
||||
type: "playlist",
|
||||
title: data.title || data.id,
|
||||
|
||||
Reference in New Issue
Block a user