visit
Update: this article is about the chrome extension . When I wrote it, it could only download your Likes, but now it can also download all videos from people you follow, so if you want to archive videos of a particular user, you just need to follow that user.
So I came across something very interesting today - a programmer posted on the /r/DataHoarder
subreddit, said he created a chrome extension to export all the items he has marked Like from tiktok to his hard drive, quote:
…I realized my “Likes” collection (mostly hot girls) are shrinking every day, because people often delete their own videos for unknown reasons, and sometimes they even close their entire account…
Well, you’d have to understand the subreddit /r/DataHoarder
- it’s a disease (as they call it themselves) where you’re obsessed with owning a local copy of your favorite things on the internet, because you fear they may disappear some day (and they do, very frequently).
In any case, I went and checked out his chrome extension, and I was blown away - he was doing some magic that I’ve never seen before, or I should say I’ve never seen any other chrome extensions capable of doing similar things.
Then you open , and the extension will add a sidebar to the site (notice how the sidebar calls itself “myfaveTT”:
In case you didn’t know, is the web version of the phone app - after signing in you can use it the same way. You can sign in in many ways, but I recommend scanning QR code with your phone app, this way you don’t need to recall which email or phone numbers you signed up with.
Remember I said this extension was doing magic? Here comes the first magical part: it’s downloading hundreds of files one by one, without needing your interaction. Maybe you haven’t realized what’s so special about it so here’s a hint: it’s obviously not using the default conventional download method, because it’s not triggering the drawer thing at the bottom of chrome. With the drawer thing you can only download one file at a time, each time an animation of a new item would appear in the drawer. Usually you trigger a download by clicking something, and each click typically triggers only one file to be downloaded - you can’t click once and download two files, let alone hundreds.
The second magical part lies in the target folder. The sidebar tells me that “to see the results, double click Archive.html
in the target folder”. Wait what? I thought I was downloading mp4 files? Yes, but that’s not all. Opening the target folder reveals an Archive.html
and a data
folder. Digging into the data
folder I indeed found all the mp4 files (located in data\Likes\videos
), but when I double clicked the Archive.html
I got a full-blown local gallery with a ton of features.
The screenshot doesn’t do it justice, you’ll have to try it yourself to experience all the features. It’s a very powerful offline gallery containing all the info about what you’ve downloaded, all the videos with metadata like caption, thumbnail, post date, like-count, author details, etc. It also has different sorting options, a search box, keyboard shortcuts, etc - basically all the powerful features you can expect from a video gallery, and of course you can play the videos too. The most magical thing about the local gallery is it’s not an executable software, it’s just a single html file that you can open in browser, but it doesn’t need internet and doesn’t need localhost.
What’s more impressive is that during the time when your videos are being downloaded, you can already open the gallery, and view the videos you have so far, meanwhile the videos keep flowing in, and you can see them appear by reloading the page. It’s a true engineering feat.
This new feature requires an additional extension to be installed, but it works out very well too. You’ll see instructions about it in the main extension - the supplement is only 1kb, apparently it’s for working around some permission restrictions.