Skip to content

Commit

Permalink
🔍 additional og info (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: Pratik Bodawala <pratik@propelius.tech>
  • Loading branch information
PratikBodawala and Pratik Bodawala authored Oct 1, 2022
1 parent bb98bfe commit 4f4135a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seoanalyzer/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
'canonical': '//link[@rel="canonical"]/@href',
'alt_href': '//link[@rel="alternate"]/@href',
'alt_hreflang': '//link[@rel="alternate"]/@hreflang',
'og_title': '//meta[@property="og:title"]/@content',
'og_desc': '//meta[@property="og:description"]/@content',
'og_url': '//meta[@property="og:url"]/@content',
'og_image': '//meta[@property="og:image"]/@content'
}

IMAGE_EXTENSIONS = set(['.img', '.png', '.jpg', '.jpeg', '.gif', '.bmp', '.svg', '.webp', '.avif',])
Expand Down

0 comments on commit 4f4135a

Please sign in to comment.