Ghost/ghost/oembed-service
Kevin Ansfield 0b4e249037 🐛 Fixed bookmark creation for sites that block some user agents
closes https://linear.app/tryghost/issue/ENG-762

- nytimes.com and other sites return 403 responses when requests do not match typical browser user-agents
- our bookmark fetching requests were using `Ghost(https://github.com/TryGhost/Ghost)` meaning bookmark creation failed for these user-agent-blocking sites
- switched to using a standard browser user-agent string to avoid such blocks
2024-06-20 22:15:38 +01:00
..
lib 🐛 Fixed bookmark creation for sites that block some user agents 2024-06-20 22:15:38 +01:00
test 🐛 Fixed bookmark creation for sites that block some user agents 2024-06-20 22:15:38 +01:00
.eslintrc.js
index.js
package.json
README.md

Oembed Service

Oembed service for Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests