Parse a webpage and convert it to Markdown
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
main.py
requirements.txt

README.md

article-markdown

Parse a webpage and convert it to Markdown, prefixing it with Jekyll front matter. This script uses a very naïve method to determine the content, but it's surprisingly effective (it just looks for the element with the most p tags).

Installation

pip install -r requirements.txt

Usage

python main.py <url>