https://github.com/mustafaturan/ogminer
Open Graph Miner App (python: Google Appengine (GA) compatible working version) http://ogp.me/
https://github.com/mustafaturan/ogminer
Last synced: 8 months ago
JSON representation
Open Graph Miner App (python: Google Appengine (GA) compatible working version) http://ogp.me/
- Host: GitHub
- URL: https://github.com/mustafaturan/ogminer
- Owner: mustafaturan
- Created: 2012-05-23T23:36:58.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2021-01-13T06:38:29.000Z (almost 5 years ago)
- Last Synced: 2024-12-29T01:02:49.621Z (10 months ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
== OG Miner
A simple web service for GA to fetch all or desired Open Graph (OG) contents from web pages.== Usage (demo)
* Sample Request to fetch only desired OG keys: *
curl -d 'og_keys=["og:title", "og:type"]' -d 'url=http://www.youtube.com/watch?v=fUYaosyR4bE' 'http://og-miner.appspot.com'
* Sample Response: *
[{"og:title": "Lily Allen - Not Fair"}, {"og:type": "video"}]* Sample Request to fetch all the OG data: *
curl -d 'url=https://vimeo.com/21216091' 'http://og-miner.appspot.com'
* Sample Response: *
[{"og:site_name": "Vimeo"}, {"og:type": "article"}, {"og:description": "Soon every home will have a robot helper. Don't worry. It's perfectly safe. Written, Directed & Edited by Ruairi Robinson Starring Max Records from "Where The Wild Things Are". Cinematography by Macgregor Music by Olafur Arnalds courtesy of…"}, {"og:title": "Blinky™"}, {"og:image": "http:\/\/b.vimeocdn.com\/ts\/136\/375\/136375440_640.jpg"}, {"og:url": "http:\/\/vimeo.com\/21216091"}, {"og:video": "http:\/\/vimeo.com\/moogaloop.swf?clip_id=21216091"}, {"og:video:secure_url": "https:\/\/vimeo.com\/moogaloop.swf?clip_id=21216091"}, {"og:video:type": "application\/x-shockwave-flash"}, {"og:video:width": "640"}, {"og:video:height": "360"}]