All Projects → amjd → Hn Saved Links Export

amjd / Hn Saved Links Export

Export your saved links on HN as JSON or CSV, with only a few keystrokes.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hn Saved Links Export

Nighttab
A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.
Stars: ✭ 598 (+1172.34%)
Mutual labels:  bookmarks, links
fleeg-platform
Fleeg is a free and open source platform to index and search pages.
Stars: ✭ 21 (-55.32%)
Mutual labels:  links, bookmarks
Mapbox Gl Print Export For Port
Print/Export for Mapbox GL
Stars: ✭ 14 (-70.21%)
Mutual labels:  export
Elm Hn Pwa
Hacker News as a PWA built with Elm
Stars: ✭ 43 (-8.51%)
Mutual labels:  hacker-news
Talks
Доклады с мероприятий #GolangKazan
Stars: ✭ 34 (-27.66%)
Mutual labels:  links
Links
Repositório destinado a curadoria e compartilhamento com a comunidade de links relacionados ao CSS
Stars: ✭ 20 (-57.45%)
Mutual labels:  links
Hugonews
hugo theme (based on https://news.ycombinator.com) for https://bookmarks.wews.co.zw
Stars: ✭ 39 (-17.02%)
Mutual labels:  bookmarks
Yub
yub.js - A command-line for the web
Stars: ✭ 10 (-78.72%)
Mutual labels:  bookmarks
Bentools Etl
PHP ETL (Extract / Transform / Load) library with SOLID principles + almost no dependency.
Stars: ✭ 45 (-4.26%)
Mutual labels:  export
Bookmark
A reading list for the programmer
Stars: ✭ 31 (-34.04%)
Mutual labels:  bookmarks
Cleanlinks
Converts obfuscated/nested links to genuine clean links.
Stars: ✭ 42 (-10.64%)
Mutual labels:  links
Ethereum Etl
Python scripts for ETL (extract, transform and load) jobs for Ethereum blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions. Data is available in Google BigQuery https://goo.gl/oY5BCQ
Stars: ✭ 956 (+1934.04%)
Mutual labels:  export
Quip Export
Export all folders and documents from Quip
Stars: ✭ 28 (-40.43%)
Mutual labels:  export
Ether sql
A python library to push ethereum blockchain data into an sql database.
Stars: ✭ 41 (-12.77%)
Mutual labels:  export
Sublime Bookmarks
Sublime Text essential plugins and resources
Stars: ✭ 878 (+1768.09%)
Mutual labels:  bookmarks
Excellentexport
Javascript export to Excel
Stars: ✭ 1,018 (+2065.96%)
Mutual labels:  export
Repo Made For Frontend Devs Mohitverma
#Repo i made for people and newcomers ,strugging on web to learn new skills and be updated regarding Frontend development
Stars: ✭ 12 (-74.47%)
Mutual labels:  links
Pinku
A Pinboard-to-buku importation utility
Stars: ✭ 30 (-36.17%)
Mutual labels:  bookmarks
Pyetl
python ETL framework
Stars: ✭ 33 (-29.79%)
Mutual labels:  export
Fbx
📜 Single-file binary FBX importer.
Stars: ✭ 47 (+0%)
Mutual labels:  export

HN Saved Links Export

This is a python script to export your saved links from Hacker News. What's a saved link, you ask? Any story that you upvote on HN is added to your saved links. You can access them from https://news.ycombinator.com/saved?id=<username> where <username> is your HN username.

Instructions

  1. This script depends on lxml and requests packages, which should be installed by default on most systems. If not, install them like so:
$ pip install -r requirements.txt

You might have to use sudo with that command on Linux.

  1. Run the script and enter your HN login credentials.
$ python export_links.py
Enter your HN account details:
Username: amjd
Password: [password will be hidden]
  1. After all the links are processed, you will be asked to enter an output file name. Use any name with the extension .json or .csv, or leave blank to go with the default links.json. The output file will be saved in the appropriate format.

  2. Profit!

P.S.: Your username and password are 100% safe and are sent over HTTPS. You can study the source code of this small script to verify that.

Sample output

JSON:

{
  "total": 2661,
  "links": [
    {
      "author": "coloneltcb",
      "url": "https://m.signalvnoise.com/getting-from-%EF%B8%8F-%EF%B8%8F-to-%EF%B8%8F-%EF%B8%8F-%EF%B8%8F-%EF%B8%8F-%EF%B8%8F-c65cc3bb7cb1#.rgrwe5cnw",
      "age": "2 days ago",
      "title": "How to ask for reviews without feeling icky about it",
      "comments_url": "https://news.ycombinator.com/item?id=11740967",
      "number": 1,
      "comments": 28,
      "points": 79
    },
    {
      "author": "adventured",
      "url": "http://www.bloomberg.com/news/articles/2016-05-22/modi-s-mini-shuttle-set-to-blast-into-elon-musk-s-race-for-space",
      "age": "7 hours ago",
      "title": "India is set to launch a scale model of a reusable spacecraft on Monday",
      "comments_url": "https://news.ycombinator.com/item?id=11751776",
      "number": 2,
      "comments": 43,
      "points": 117
    },


    "..."
    
    
    {
      "author": "lydiahan",
      "url": "http://www.linkedin.com/today/post/article/20131029100222-95015-my-first-job-fired-and-rehired-on-day-1?trk=tod-home-art-list-small_1",
      "age": "931 days ago",
      "title": "My First Job: Fired and Rehired on Day 1",
      "comments_url": "https://news.ycombinator.com/item?id=6667202",
      "number": 2661,
      "comments": 113,
      "points": 199
    }
  ]
}

Todo

  • Add CLI options

Similar

HN Saved Export by thomaskcr

Contribute

If you think of any improvements, create an issue or send a pull request. :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].