Vivaldi Bookmark Export does not export all bookmarks
-
I'm getting back into Brave Browser and I'm trying to export my Vivaldi bookmarks to it. However, every time I attempt to, my exported HTML file fails to export more than half my bookmarks. I see this when I import the file to my Brave browser; more than half the bookmark entries are just not there. I can even see this in my windows explorer; in my files, I have a file called "Brave Bookmarks" which contains my bookmarks from when I was still using Brave originally and was what I imported into Vivaldi, and its over 48,000 KB in size. The new export HTML file from Vivaldi is only a little over 12,000 KB in size, less than half the size of what was imported into Vivaldi, and it should be slightly bigger since I've added new bookmarks to it.
-
@BigESimon If you have used sync in Vivaldi you can see a count of your bookmarks at
vivaldi://sync-internals
The file size difference may be due to what data is included in the Bookmark.html file, not just the number of URLs.
-
@Pesala That's a nice explanation, but it still doesn't really help my problem of the exporter not actually exporting all of my bookmarks.
-
@BigESimon File size alone is not enough for a meaningful comparison. The exported bookmarks HTML files might differ in stuff like the values of
LAST_MODIFIED
and (especially!)ICON
.You will need to count the entries. It's pretty straightforward to do so. Any good text editor will allow you to count words. For instance in Notepad++ the find dialog has a count option, and you can search for "A HREF=" for instance.
You can of course also do it in a command shell, and then compare with the actual count in the profile
Bookmarks
file:$ grep "A HREF=" bookmarks_29_07_2022.html | wc -l 841 $ grep "url\":" Bookmarks | wc -l 841
Note the value in
sync-internals
also counts the number of folders:$ grep -E "url\":|\"folder\"" Bookmarks | wc -l 927
If you can share the bookmarks files, I'd be happy to do the counting for you, if you don't have the needed tools
-
@BigESimon In your initial post, you raised two seemingly-related points. First, you indicated that "more than half" your Vivaldi-exported bookmarks don't appear when imported into Brave. Second, you indicated that the exported bookmarks file is now less than half the size it was compared with an earlier version.
In looking at the imported bookmarks in Brave, is there any apparent pattern or break-point where the original Vivaldi bookmarks seem not to appear, or are the 'missing' bookmarks scattered with no seeming pattern? Do any of the "missing" Brave bookmarks still actually open in their Vivaldi occurrences?
-
@Blackbird There isn't any real rhyme or reason as far has I can see. All of the loose bookmarks that appear on my Bookmark bar don't make the cut. The ones that are ported are entirely from the "other Bookmarks" folder I have on said bar, but not all of those make it either. None of the loose bookmarks in that folder make the export. The second level folders inside that one are alphabetized, so I can semi-tell where the cutoff is, but I haven't gone through all the individual folders to see if the all the subfolders there are gone, or what didn't make it. I also haven't checked all the booksmarks in those folders. I have thousands of bookmarks, so a full accounting would be prohibitively time consuming and not really helpful. So I can't really tell you if there is a pattern or not
As for if the the missing bookmarks still work in Vivaldi, the answer is yes. They still work and appear as normal.
-
@Pathduck Using Notepad ++ I was able to determine the exact discrepancy in what isn't being exported.
My total number of bookmarks, according to Vivaldi, is 55548, and that's the same number for both total entries and live entries.
Using Notepad ++ and your method, I checked an exported HTML file from Vivaldi and determined that Vivaldi is only exporting 51644 of them.
-
@BigESimon said in Vivaldi Bookmark Export does not export all bookmarks:
My total number of bookmarks, according to Vivaldi, is 55548
How did you arrive at that number? Remember what I said about the sync-internals page - it also counts folders. So with that many bookmarks, I'm guessing there's a lot of folders too, right?
I did a test earlier today, duplicated my bookmarks into about 80k. Exported as HTML, and all the bookmarks were exported. Took a good long while though, the export process is not exactly fast. Also for good measure tried in a 32-bit install in case the browser and memory would balk at that number of bookmarks, still worked fine.
I understand if you do not want to share your exported bookmarks files, or your
Bookmarks
file from the profile (which would help even more). But maybe you can reduce them to some number where it can still be reproduced by removing anything you deem sensitive. Otherwise I can't see how it can be made into a good bug report, without any consistent reproduction. -
@Pathduck That number is the number that Vivaldi listed. The method of checking the HTML file you suggested indicates that its probably the correct number. That Sync internals page doesn't list folders, it lists Bookmarks, so that's what I'm going by.
I mean, I don't know what to tell you at this point. I've given you all the information I have and followed your instructions, so I'm not sure what more I can do for you.
-
@BigESimon said in Vivaldi Bookmark Export does not export all bookmarks:
That Sync internals page doesn't list folders, it lists Bookmarks, so that's what I'm going by.
No, it lists bookmarks and folders. As far as Sync is concerned, a folder is a bookmark.
I wrote earlier, Sync shows 927 entries for me, that's 841 bookmarks and 86 folders.
If you want to count folders in the exported HTML, search in N++ for the string:
<H3
Shows 84 because there's a couple of internal folders that don't get exported to HTML.
-
@Pathduck Man, you should have explained that from the start.
Using notepad++, I was able to determine that there are 3902 folders in the HTML file. Total that up with the number of actual bookmarks and that comes out to 55546 total entries, which brings it right in line with Vivaldi's count of 55548 total "bookmarks". Which is all of the files, minus the two "internal folders" you mentioned, I guess. So the HTML file does seem to contain everything, at least going by raw numbers, but its not being imported over in Brave.
-
@BigESimon said in Vivaldi Bookmark Export does not export all bookmarks:
Man, you should have explained that from the start.
Hey, I thought you'd do good with some basic deductions
but its not being imported over in Brave.
Then blame Brave
I can't believe I'm helping someone migrate to Brave but what the hey... Brave actually has its own
brave://sync-internals/
. Except it won't show anything unless you activate Sync...Logically, a good test would be to simply export the bookmarks again from Brave, and repeat the counting. Lacking any other way of counting the Brave bookmarks directly.
There's a neat tool from Nirsoft:
https://www.nirsoft.net/utils/web_browser_bookmarks_view.html
It should detect your Brave/Vivaldi etc installation, unless you're running as portable, then you will need to point it to your Brave profile folder. -
@Pathduck Man, you won't believe this.
I tried to import everything again, today, and it actually imported everything to Brave, seemingly.
I don't man, maybe the export wasn't finished or something when I imported, I don't know, but holy crap, it actually went through. I'll have to check Brave's sync internals to determine if its all there, but, at first glance, it all indeed actually appears to be there.
-
@BigESimon said in Vivaldi Bookmark Export does not export all bookmarks:
I don't man, maybe the export wasn't finished or something when I imported, I don't know
Well, maybe you closed Vivaldi before it was finished exporting all those bookmarks. For me, this process took several minutes with 80k bookmarks, and I was watching Task Manager to monitor when it was finished. But I also tried closing the browser during the export and it still finished. However, if you forcefully terminated the browser, you would likely end up with an incomplete export.
A clue is to watch the file size during export. It will be 0 bytes and then change to the full size only when finished.
But hey, glad it works for you now
And should you ever need proper tech support and not some people wildly guessing (like on the Brave forums), do call back -
@Pathduck just checked brave's sync internals. The import did in fact function as intended. So I guess we can consider this a done deal.