LuRsT / url2markdown

Give it a URL, it'll give you Markdown. Powered by Readability.

Home Page:http://mdpls.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

url2markdown

This is a very simple web service that will take a given URL, and return a Markdown representation of that page.

Powered by Readability, Requests, html2text, markdown, and Flask.

Usage

$ curl http://mdpls.co/?url=http://kennethreitz.org

# Hi, there.

My name is Kenneth Reitz.
...

Or, if you understand code:

$ mkvirtualenv url2markdown
$ pip install -r requirements.txt
$ READABILITY_TOKEN="XXX" python service.py

Enjoy!

Configuration

This application requires a Readability Parser Token.

$ export READABILITY_TOKEN=xxxxxx

You can use autoenv to do this easily.

License

Unfortunately, this code is released under GPLv3.

About

Give it a URL, it'll give you Markdown. Powered by Readability.

http://mdpls.co

License:GNU General Public License v3.0


Languages

Language:HTML 57.1%Language:Python 42.9%