Skip to content

Commit

Permalink
Merge pull request #152 from scrapinghub/og-product
Browse files Browse the repository at this point in the history
Add "product" namespace support for opengraph
  • Loading branch information
jakubwasikowski committed Sep 7, 2020
2 parents df7ca6b + e12b2b2 commit 7d245b3
Show file tree
Hide file tree
Showing 5 changed files with 21,838 additions and 43 deletions.
2 changes: 2 additions & 0 deletions extruct/opengraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
'article': 'http://ogp.me/ns/article#',
'book': 'http://ogp.me/ns/book#',
'profile': 'http://ogp.me/ns/profile#',
# non-standard but seen in the wild
'product': 'http://ogp.me/ns/product#', # ~10% of product pages with OG
}


Expand Down
40 changes: 0 additions & 40 deletions tests/samples/misc/opengrapg_test.json

This file was deleted.

0 comments on commit 7d245b3

Please sign in to comment.