Vue normale

Reçu hier — 8 mai 2025RSS-Bridge/rss-bridge
Reçu aujourd’hui — 9 mai 2025RSS-Bridge/rss-bridge

[TikTokBridge] Use oEmbed for video metadata (#4514)

9 mai 2025 à 05:10
[TikTokBridge] Use oEmbed for video metadata (#4514)

* [TikTokBridge] Use oEmbed for video metadata

Fetches oEmbed-formatted metadata for videos through the TikTok API to
provide post titles, thumbnails, and authors. This hasn't yet been
tested, so it's possible it doesn't work.

* [TikTokBridge] Add back view count parsing

oops

* [TikTokBridge] Prepend www to the oEmbed API endpoint URL

The non-www URL resulted in a 301 redirect to the www URL, so this just
skips that redirect, improving performance a bit and hopefully helping
with the 400 errors.

* [TikTokBridge] Retry failed OEmbed requests

If an OEmbed request fails, retry a few times, waiting a bit in between
each retry. This should fix the problem for the most part, since I think
the problem was related to some sort of rate limit (it isn't mentioned
in the docs, but it seems to only happen when sending large quantities
of sequential requests).

❌