Comments (7)
@fusir @coffeewithdonut We're continuing effort to fix this, can you check now and feedback us if it's working better?
No issues anymore thank you
from sdk.
Hello, thanks for reaching. Microlink is using a headless browser under the hood. I think this is happening because we are sending too much traffic to YouTube and they shadow ban us for a while.
It needs to be investigated, thanks for reporting, I will report back after a better understanding of what's happening.
from sdk.
@fusir is it working better these days? We implemented changes 🙂
from sdk.
@Kikobeats I'm still seeing issues with this; it seems to pull video titles/descriptions sporadically. Otherwise, defaults back to – YouTube / Share your videos with friends, family, and the world
from sdk.
@coffeewithdonut did you try is passing prerender
parameter is working better?
In that way it's going to ensure to use a headless browser:
https://microlink.io/docs/api/parameters/prerender
from sdk.
@Kikobeats Yes, I've had more success with prerender set to false for YouTube links because Google seems to intercept the headless browser requests. It also seems like there is a cache layer that prerender false fetches from, popular videos tend to work, or videos I've fetched previously, but new videos initially return responses as below.
Here are some example responses
Prerender false:
{
lang: null,
author: null,
title: 'watch?v=Y25LDO6OLzQ',
publisher: 'YouTube',
image: {
url: 'https://img.youtube.com/vi/Y25LDO6OLzQ/maxresdefault.jpg',
type: 'jpg',
size: 44575,
height: 720,
width: 1280,
size_pretty: '44.6 kB'
},
date: '2024-04-22T01:05:06.000Z',
description: null,
url: 'https://www.youtube.com/watch?v=Y25LDO6OLzQ',
logo: {
url: 'https://www.youtube.com/favicon.ico',
type: 'ico',
size: 1150,
height: 16,
width: 16,
size_pretty: '1.15 kB'
}
}
Prerender true:
{
lang: null,
author: null,
title: 'index?continue=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DY25LDO6OLzQ&q=EgSG0aUUGIvulrEGIjAJjJxx2b-Y1a2_sb7ANF15KR3j8TezYD32d6H29gmpBoNh0pu6xWEuejAFvHcRpfsyAXJaAUM',
publisher: 'YouTube',
image: null,
date: '2024-04-22T01:04:33.000Z',
video: null,
description: null,
url: 'https://www.google.com/sorry/index?continue=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DY25LDO6OLzQ&q=EgSG0aUUGIvulrEGIjAJjJxx2b-Y1a2_sb7ANF15KR3j8TezYD32d6H29gmpBoNh0pu6xWEuejAFvHcRpfsyAXJaAUM',
logo: {
url: 'https://www.google.com/favicon.ico',
type: 'ico',
size: 5430,
height: 16,
width: 16,
size_pretty: '5.43 kB'
}
}
from sdk.
@fusir @coffeewithdonut We're continuing effort to fix this, can you check now and feedback us if it's working better?
from sdk.
Related Issues (20)
- microlink.io is down? HOT 1
- Separate `fetch` from `setData`
- Make embeds clickable while loading HOT 1
- [vue] Can't perform a React state update on an unmounted component HOT 1
- [hover-react] testing snapshot fails
- A better way to customize basic style
- Add a way to pass iframe options HOT 2
- Links to documentation and storybook don't work
- Storybook link down HOT 1
- Styling of card loader HOT 8
- it fails for some websites that need to accept cookies HOT 5
- Microlink Hover improvements
- Is using raw `video` urls / mp4's legal in the preview? HOT 2
- apikey being passed to the Iframe wrapper component HOT 2
- Crashed with invalid link HOT 4
- Cors on any link HOT 1
- Running React v17 won't compile - @microlink/react gives an error about needing an additional loader in (MicrolinkError) HOT 2
- Upgrade microlink react SDK Styled-Component Package HOT 1
- Instagram links aren't fetching HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.