Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
/ cfo Public

A Cloudflare Open-Graph Scraper based on HTMLRewriter

License

Notifications You must be signed in to change notification settings

ttys026/cfo

Repository files navigation

Cloudflare Open-Graph Scrapper (CFO)

This is a template using HTMLRewriter in Cloudflare Workers to scrap open graph info from a website.

It has zero dependencies and can be deployed on Cloudflare workers with zero configuration by running:

npm install && npm run deploy

Feel free to fork this repo and modify the src/index.ts file if you want to make any changes to the code. For example, extract more info from html head tags or add a cache machanism using Cloudflare KV.

See a example:

https://cfo.tianyi.li/?url=https://www.apple.com/

About

A Cloudflare Open-Graph Scraper based on HTMLRewriter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published