Skip to content

Commit 4f4135a

Browse files
PratikBodawalaPratik Bodawala
andauthored
🔍 additional og info (#91)
Co-authored-by: Pratik Bodawala <pratik@propelius.tech>
1 parent bb98bfe commit 4f4135a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

seoanalyzer/page.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
'canonical': '//link[@rel="canonical"]/@href',
7979
'alt_href': '//link[@rel="alternate"]/@href',
8080
'alt_hreflang': '//link[@rel="alternate"]/@hreflang',
81+
'og_title': '//meta[@property="og:title"]/@content',
82+
'og_desc': '//meta[@property="og:description"]/@content',
83+
'og_url': '//meta[@property="og:url"]/@content',
84+
'og_image': '//meta[@property="og:image"]/@content'
8185
}
8286

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

0 commit comments

Comments
 (0)