Alas, I couldn't get this working. Never used Python before so I'm unsure how to fix it, but it seems like something breaks when the title is undefined.
Was excited to as well, was going to write a script that fed this into Pinboard. Maybe I'll code up my own upvoted item scraper later.
Enter your HN account details:
Username: firloop
Password:
Logging in...
Logged in successfully.
Error getting data for page 1
Traceback (most recent call last):
File "export_links.py", line 137, in <module>
main()
File "export_links.py", line 113, in main
if len(tree_title) < 61:
UnboundLocalError: local variable 'tree_title' referenced before assignment