mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 14:24:23 -05:00
[PR #1552] api/pinterest: fallback images to the graphql api #12801
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1552
Author: @zImPatrick
Created: 5/5/2026
Status: 🔄 Open
Base:
develop← Head:pr/pinterest📝 Commits (1)
5dde49aapi/pinterest: fallback to the graphql api📊 Changes
1 file changed (+61 additions, -1 deletions)
View changed files
📝
api/src/processing/services/pinterest.js(+61 -1)📄 Description
Pinterest sometimes just doesn't SSR the images into the HTML, so I implemented falling back to the GraphQL API in case no image was found. There's no support for videos in here right now, as they seem to be unaffected. I'd be down to add it if needed
I also tested an older query hash from January and that one also still works, so this should just keep working for a while
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.