Exporting Delicious Bookmarks anno 2017

The Export tab in your Delicious bookmarks account shows it has been disabled due to heavy load on the database. Too bad, but that doesn’t prevent me from using the web scraping trick to download all my bookmarks.

What scraper to use?

To select the elements to scrape directly on a Delicious page, I use Web Scraper from Martins Balodis. The documentation on webscraper.io is very clear. The Web Scraper is integrated with the Chrome Developer Tools, so open these to find the Web Scraper functionality.

Creating a sitemap

A Web Scraper sitemap is a description of the elements you want to scrape from the webpage, taking into account that each bookmarks page contains a subset of your total collection.

The sitemap also contains the set of URL’s to scrape. At the end of the file above, you will see the startUrl section. Replace <your_account_id> with your Delicious account name. I listed the start page followed by the enumeration from page 2 up to the maximum page number you have in your collection. Before you replace <your_maximum_page> with your real total number, try first with a small subset, e.g. 2-5.

Under Create new sitemap, you can Import sitemap.

Now start scraping.

When the scraping is done, you can Browse the results under the Sitemap section. But now Export as CSV to be able to post process them.