Python script to automatically extract excerpts from articles
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Xavier 764fc4b368 Just import the strictly necessary things, put # 4 年前
README some documentation 10 年前
excerpt_extractor.py Just import the strictly necessary things, put # 4 年前

README

This is a simple script to automatically extract excerpts from articles. It 
requires BeautifulSoup.

Usage:
from excerpt_extractor import get_summary
url = "http://someurl.com/goes/here"
(title,description) = get_summary(url)

==========================================

Some examples, discussion, and comparison with the Facebook article extractor
are at http://blog.davidziegler.net/post/122176962/a-python-script-to-automatically-extract-excerpts-from

copyright: Copyright 2009 by David Ziegler
license: MIT License
website: http://github.com/dziegler/excerpt_extractor/tree/master