8 comments

[ 30.9 ms ] story [ 777 ms ] thread
OT: I'm still searching for a tool/scriptlet to load my whole history off youtube. The API commands allow only the last n (I think it where 50) entries to fetch, and the interface of youtube is even worse.
Write a JS snippet that will press the "Load more" button every 2s on the web interface. Let it run for a lot of time, on Chrome DevTools, then scrape the page with Javascript. Seems relatively easy.
I did something like this with firefox, but after a while firefox was using so much RAM, it took him 10-20 sec. for a single request - I gathered ~40000 history entries with this technique. Perhaps Chrome DevTools will do a better job - I'll try.
Ok, you have too many history entries. That will be a problem everywhere. Perhaps removing CSS, media and images from the DOM will reduce memory consumption and get your farther?
> The API commands allow only the last n (I think it where 50) entries to fetch.

Why can't you just automate it?

What did you use as the IDE to make this? Or was it just notepad?

I.e, how did you start with knowing what files to include here