-
Notifications
You must be signed in to change notification settings - Fork 105
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
no data for medium.com urls from the iOS app #75
Comments
Experiencing the same issue! Probably because as already pointed out it’s a mirrored link and not the final link. @hamedb89 Were you able to solve it? I would appreciate clarification for this one, as I saw that it should work with redirects, however medium is for sure not working! Thanks a lot🙌🏼 |
Hello, I started digging into this. request docs: https://github.com/request/request#requestoptions-callback Unfortunately this is the page I get when using request:
Request can't run javascript, so there is no way of getting to the final page. To get this to work I would have to rewrite |
How I solved this issue: just grabbed the body of the page with axios and with regex found the normal url which then can be processed by ogs. This is a good example of middleware function. |
@d-ivashchuk Great idea Dimitri, I will try it out as soon as I can get to it. Great idea though thanks! |
Yes, using the |
This link doesn't throw an error but also doesn't scrape open graph data.
Anybody else having this problem?
https://link.medium.com/HozE2bvBmU
edit: the link above redirects to this one: https://rsci.app.link/HozE2bvBmU?_p=f4503a44f32dc261648a177f2460
The text was updated successfully, but these errors were encountered: