Skip to content
Parse a webpage and convert it to Markdown
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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>

You can’t perform that action at this time.