[PR #1552] api/pinterest: fallback images to the graphql api #12801

Open
opened 2026-05-08 09:25:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/1552
Author: @zImPatrick
Created: 5/5/2026
Status: 🔄 Open

Base: developHead: pr/pinterest


📝 Commits (1)

  • 5dde49a api/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.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/1552 **Author:** [@zImPatrick](https://github.com/zImPatrick) **Created:** 5/5/2026 **Status:** 🔄 Open **Base:** `develop` ← **Head:** `pr/pinterest` --- ### 📝 Commits (1) - [`5dde49a`](https://github.com/imputnet/cobalt/commit/5dde49aeb256ae5be2233505e20682de25f008ab) api/pinterest: fallback to the graphql api ### 📊 Changes **1 file changed** (+61 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api/src/processing/services/pinterest.js` (+61 -1) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-08 09:25:49 -05:00
Sign in to join this conversation.