The silver moon glows / In the starry midnight sky / It lights up the dark
4
   
Award
Favorite
Favorited
Unfavorite
Download
"// gathering of video files again, ugg, and the whole [CONTENTS/VIDEOS] objective
// it would be cool to post neutral reviews of videos
// anbd then later edit them (maybe create curation would override it.... it seems too.
// --BONUS: return of the old status post
// --CURRATOR PROFILE SHUFFLE(youtube shuffle would be nice too but dangerous nvm)
// what code to be inserted is this function that counts pages down
// getting new video data which adds to the array
// curates them I quess, obastract that function
// later content quests include screenshots? so do the video code to be generic
// but really sould avoid doing this stuff now, keep reviews thing going good
// basically I have to handle what to dow when a piece of content is deleted.
// this is why I stopped doing it, could need some kind of getter that deletes. still just handle reviews for now
// get_content_file(ITEM)...no then it retrives them each time
// more like need to use a delete wrapper function and remember to do so
/*check_content_files = (account, content_files = {}, page = 1, base = 'my/videos', url = base + "/?p=" + page + '&privacy=8&sort=oldestfirst') =>
http_request(account, url, null, (body, response, err, files = body.match(/OnVideoClicked\( \d+/g)) =>
(typeof files !== 'undefined' && !files.length) ?
console_log('done: ' + content_files.length)
: (get_content_details = (f = files.length-1) =>
(f < 0 || content_files[files[f].substr(16)]) ?
check_content_files(account, content_files, page+1, base)
: http_request(account, 'sharedfiles/filedetails/?id=' + files[f].substr(16), null, (body, response, err) => (
content_files[files[f].substr(16)] = [].slice(19, -1)
, Cheerio.load(body)('.nonScreenshotDescription').text().slice(1, -1)
, body.match(/"appid" value="\d+"/)[0].slice(15, -1)
, 0 ],
console.dir(content_files[files[f].substr(16)]),
get_content_details(f-1))))());*/"