Skip to content

Commit

Permalink
feat(h2md/convert.py,setup.py): support infoq
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Chan committed Jul 27, 2019
1 parent 98473e4 commit 87a824f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions h2md/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def convert(html):
soup = bs(html, 'html.parser')
container = soup.select_one('article .post-container') \
or soup.select_one('article #content') \
or soup.select_one('.page-article .main-content') \
or soup.select_one('article') \
or soup.select_one('body') \
or soup
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

setup(
name="h2md",
version="1.0.1",
version="1.0.2",
author="Jerry Chan(陈家俊)",
author_email="jerry@mydream.ink",
description="This will convert the content part of html into a markdown file.",
Expand Down

0 comments on commit 87a824f

Please sign in to comment.