Skip to content

Commit d9f7c8e

Browse files
committed
cosmetic changes 1
1 parent 58fd76b commit d9f7c8e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

extruct/rdfa.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424
initial_context["http://www.w3.org/2011/rdfa-context/rdfa-1.1"].ns.update({
2525
"twitter": "https://dev.twitter.com/cards#",
2626
"fb": "http://ogp.me/ns/fb#",
27-
'og': 'http://ogp.me/ns#',
28-
'music': 'http://ogp.me/ns/music#',
29-
'video': 'http://ogp.me/ns/video#',
30-
'article': 'http://ogp.me/ns/article#',
31-
'book': 'http://ogp.me/ns/book#',
32-
'profile': 'http://ogp.me/ns/profile#'
27+
"og": "http://ogp.me/ns#",
28+
"music": "http://ogp.me/ns/music#",
29+
"video": "http://ogp.me/ns/video#",
30+
"article": "http://ogp.me/ns/article#",
31+
"book": "http://ogp.me/ns/book#",
32+
"profile": "http://ogp.me/ns/profile#"
3333
})
3434

35+
3536
class RDFaExtractor(object):
3637

3738
def extract(self, htmlstring, base_url=None, encoding="UTF-8",

0 commit comments

Comments
 (0)