Add mixes

This commit is contained in:
Omar Roth
2018-09-28 23:12:35 -05:00
parent 66f3ab0663
commit 20130db556
6 changed files with 210 additions and 18 deletions

View File

@@ -1,3 +1,16 @@
class PlaylistVideo
add_mapping({
title: String,
id: String,
author: String,
ucid: String,
length_seconds: Int32,
published: Time,
playlists: Array(String),
index: Int32,
})
end
class Playlist
add_mapping({
title: String,
@@ -13,19 +26,6 @@ class Playlist
})
end
class PlaylistVideo
add_mapping({
title: String,
id: String,
author: String,
ucid: String,
length_seconds: Int32,
published: Time,
playlists: Array(String),
index: Int32,
})
end
def fetch_playlist_videos(plid, page, video_count)
client = make_client(YT_URL)