Skip to content

Commit cc9d892

Browse files
committed
Tidy README.rst
Minor typo fixes.
1 parent 65c8a1c commit cc9d892

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

README.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Intro
55
-----
66

77
Goose was originally an article extractor written in Java that has most
8-
recently (aug2011) been converted to a `scala project <https://github.com/GravityLabs/goose>`_.
8+
recently (Aug2011) been converted to a `scala project <https://github.com/GravityLabs/goose>`_.
99

10-
This is a complete rewrite in python. The aim of the software is to
10+
This is a complete rewrite in Python. The aim of the software is to
1111
take any news article or article-type web page and not only extract what
1212
is the main body of the article but also all meta data and most probable
1313
image candidate.
@@ -16,22 +16,22 @@ Goose will try to extract the following information:
1616

1717
- Main text of an article
1818
- Main image of article
19-
- Any Youtube/Vimeo movies embedded in article
19+
- Any YouTube/Vimeo movies embedded in article
2020
- Meta Description
2121
- Meta tags
2222

23-
The python version was rewritten by:
23+
The Python version was rewritten by:
2424

2525
- Xavier Grangier
2626

2727
Licensing
2828
---------
2929

3030
If you find Goose useful or have issues please drop me a line. I'd love
31-
to hear how you're using it or what features should be improved
31+
to hear how you're using it or what features should be improved.
3232

33-
Goose is licensed by Gravity.com under the Apache 2.0 license, see the
34-
LICENSE file for more details
33+
Goose is licensed by Gravity.com under the Apache 2.0 license; see the
34+
LICENSE file for more details.
3535

3636
Setup
3737
-----
@@ -70,13 +70,13 @@ pass goose a Configuration() object. The second one is to pass a
7070
configuration dict.
7171

7272
For instance, if you want to change the userAgent used by Goose just
73-
pass :
73+
pass:
7474

7575
::
7676

7777
>>> g = Goose({'browser_user_agent': 'Mozilla'})
7878

79-
Switching parsers : Goose can now be use with lxml html parser or lxml
79+
Switching parsers : Goose can now be used with lxml html parser or lxml
8080
soup parser. By default the html parser is used. If you want to use the
8181
soup parser pass it in the configuration dict :
8282

@@ -87,8 +87,8 @@ soup parser pass it in the configuration dict :
8787
Goose is now language aware
8888
---------------------------
8989

90-
For example scrapping a Spanish content page with correct meta language
91-
tags
90+
For example, scraping a Spanish content page with correct meta language
91+
tags:
9292

9393
::
9494

@@ -114,7 +114,7 @@ configuration :
114114
u'Importante golpe a la banda terrorista ETA en Francia. La Guardia Civil ha detenido en un hotel de Macon, a 70 kil\xf3metros de Lyon, a Izaskun Lesaka y '
115115

116116
Passing {'use\_meta\_language': False, 'target\_language':'es'} will
117-
force as configuration will force the spanish language
117+
forcibly select Spanish.
118118

119119

120120
Video extraction
@@ -146,7 +146,7 @@ Goose in Chinese
146146
Some users want to use Goose for Chinese content. Chinese word
147147
segmentation is way more difficult to deal with than occidental
148148
languages. Chinese needs a dedicated StopWord analyser that need to be
149-
passed to the config object
149+
passed to the config object.
150150

151151
::
152152

@@ -202,7 +202,7 @@ Known issues
202202
------------
203203

204204
- There are some issues with unicode URLs.
205-
- Cookie handling : Some websites need cookie handling. At the moment the only work around is to use the raw_html extraction. For instance ;
205+
- Cookie handling : Some websites need cookie handling. At the moment the only work around is to use the raw_html extraction. For instance:
206206

207207
>>> import urllib2
208208
>>> import goose

0 commit comments

Comments
 (0)