-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not follow redirects on Apple News links #130
Comments
Thanks for the report. I will add it to investigation needed. |
Just tried the library again and found it also doesn't work for Spotify urls: Example: https://open.spotify.com/artist/39ywlwtGw8RTGobakgb11L?si=As8Ynf-RS12yFu8jckzhYQ |
I spoke too soon. I updated from |
The reason is that Apple news' OG:image doesn't have a file extension.
The supported imagePattern is
|
Would it make sense to pass along the image URL regardless of extension? That would allow clients to try to parse the image and we can rely on iOS to examine the content headers and try to create UIImages from the URLs. |
Any news on this one? Any way to ignore the imagePattern ? |
Thanks for making this. Certainly saved me a lot of time!
Unfortunately, it doesn't seem to follow redirects.
Example: https://apple.news/Ak2IoOEp8Qdi6JVs8p-Jj_A
It should return the
og:image
from here: https://abcnews.go.com/Politics/capitol-breached-protesters/story?id=75081629The impact is that it does not return the image from the news article, but rather a big Apple News logo.
The text was updated successfully, but these errors were encountered: