Skip to content

Commit 205ee73

Browse files
authored
Merge pull request #145 from EdwardBetts/spelling
Correct spelling mistakes
2 parents bd49a5f + 1611781 commit 205ee73

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

HISTORY.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ v0.5.0 (2018-06-08)
8080
html nodes.
8181
* ``base_url`` substitutes ``url`` in ``MicroformatExtractor``, ``JsonLdExtractor``,
8282
``OpenGraphExtractor``, ``RDFaExtractor`` and ``MicrodataExtractor``
83-
* individual extractors accpet ``base_url`` instead of ``url``, unused keyword
83+
* individual extractors accept ``base_url`` instead of ``url``, unused keyword
8484
arguments are removed.
8585
* In ``w3microdata.extract_items`` ``items_seen`` and ``url`` are no longer
8686
class variables but are passed as arguments.
@@ -152,7 +152,7 @@ v0.2.0 (2016-09-26)
152152
-------------------
153153

154154
* Web service response content-type set to 'application/json'
155-
* Web service Python 3 compatiblity
155+
* Web service Python 3 compatibility
156156
* Code coverage reports
157157
* Fix extraction of ``<object>`` "data" URL with microdata
158158
* Handle textContent mixed with ``<script>`` and ``<style>`` tags

extruct/rdfa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _replaceNS(self, prop, html_element, head_element):
9595
if ('xmlns:' + prefix) in html_element.keys():
9696
return html_element.get('xmlns:' + prefix) + prop.split(':')[1]
9797

98-
# if namespace present in inital context
98+
# if namespace present in initial context
9999
if prefix in context:
100100
return context[prefix] + prop.split(':')[1]
101101

extruct/w3cmicrodata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _extract_property_refs(self, node, refid, items_seen, base_url):
150150
base_url=base_url)
151151
if 'itemprop' in ref_node.keys() and 'itemscope' in ref_node.keys():
152152
# An full item will be extracted from the node, no need to look
153-
# for individual properties in childs
153+
# for individual properties in child nodes
154154
for p, v in extract_fn(ref_node):
155155
yield p, v
156156
else:

0 commit comments

Comments
 (0)