szafranek / delicious-exporter Goto Github PK
View Code? Open in Web Editor NEWRuby script for exporting public bookmarks from del.icio.us
Ruby script for exporting public bookmarks from del.icio.us
This does not seem to work from behind a firewall, right? Or is there a way to specify proxy settings?
The tools seems to work with English characters set only, so if there are page titles, descriptions or tags in other character sets, they seem to be corrupted.
Running the tool with the --validate option causes the following errors:
Server not found |
'head' is not recognized as an internal or external command,
operable program or batch file.
Out of thousands of bookmarks I have, the export attempt with the --validate flag returned only two valid links.
Very nice piece of code indeed. I'm stuck as any other into exporting my thousands bookmarks from Delicious.
Your code grab just public links. How to grab the private ones as well?
I tried to modify your code adding an authentication with my profile but I'm not so keen on coding so it didn't work...
Or conversely do you know how in Delicious massively make all my links public at once?
Any hint?
Thank you.
Greg
Since up until now Delicious seemed to be on deathwatch autopilot, violating the ToS with this exporter was somewhat acceptable, but it appears Delicious will be saved in a read-only state on June 15/2017 and conventional export should work again...
https://blog.pinboard.in/2017/06/pinboard_acquires_delicious/
The following error occurs after the export is running for a while. Used command:
./export.rb -u <username> -p <password> -o bookmarks.html
./export.rb:74:in
'url': undefined method
[]' for nil:NilClass (NoMethodError)
from ./export.rb:165:inblock (2 levels) in bookmarks_string' from /Users/aron/.rvm/gems/ruby-2.4.0@global/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/node_set.rb:187:in
block in each'
from /Users/aron/.rvm/gems/ruby-2.4.0@global/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/node_set.rb:186:inupto' from /Users/aron/.rvm/gems/ruby-2.4.0@global/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/node_set.rb:186:in
each'
from ./export.rb:164:inblock in bookmarks_string' from ./export.rb:161:in
each'
from ./export.rb:161:inbookmarks_string' from ./export.rb:211:in
Trying to export private bookmarks fails when the password contains 'special' characters, such as dollar signs ($) and ampersands (&).
Wrapping the password in single or double quotes to avoid interpretation by the shell appears to make no difference.
The below examples show how the program
~/dev/delicious-exporter master*
❯ ./export.rb -u yggdrasil -p '$blabla' -o out.html
Password is required.
~/dev/delicious-exporter master*
❯ ./export.rb -u yggdrasil -p '&ablabla' -o out.html
Password is required.
~/dev/delicious-exporter master*
❯ ./export.rb -u yggdrasil -p 'a$bl&abla' -o out.html
Password must be at least 6 characters.
~/dev/delicious-exporter master*
❯ ./export.rb -u yggdrasil -p 'a$blabla' -o out.html
Password must be at least 6 characters.
Characters used in the password should have no impact on the functioning of the program. Since Delicious does accept these passwords on their website, it should be possible to use them in the exporter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.