api/instagram: add explanation for resolveRedirectingURL user-agent

This commit is contained in:
jj 2025-02-09 11:59:10 +00:00
parent 59cb6b05be
commit 55f591b37d
No known key found for this signature in database

View file

@ -522,6 +522,9 @@ export default function instagram(obj) {
return resolveRedirectingURL(
`https://www.instagram.com/share/${shareId}/`,
dispatcher,
// for some reason instagram decides to return HTML
// instead of a redirect when requesting with a normal
// browser user-agent
'curl/7.88.1'
).then(match => instagram({
...obj, ...match,