[WIP]fix: get video details.#126
[WIP]fix: get video details.#126xiaohaoxing wants to merge 1 commit intoSuspiciousLookingOwl:developmentfrom
Conversation
|
Hi, wish you have a good day! If this fix works, please release a new version package. We have a project relay on this project now and have broken down for this problem. Thanks! 🙏🏻 |
|
It seems that it depends on the proxy I'm using. The origin version works on the US node, but the fix works on the HK, JP, SG nodes. So maybe we need to conditionally sending request to compatible with different region. |
|
Hi, thanks for the PR. As far as I know, getting video details fails because the client couldn't get the player data due to the IP of the system being blocked / flagged by YouTube, the raw response of the player endpoint looks like this {
responseContext: {
serviceTrackingParams: [Array],
maxAgeSeconds: 0,
mainAppWebResponseContext: [Object],
webResponseContextExtensionData: [Object]
},
playabilityStatus: {
status: 'LOGIN_REQUIRED',
reason: 'Sign in to confirm you’re not a bot',
errorScreen: [Object],
skip: [Object],
contextParams: 'Q0FFU0FnZ0M='
},
trackingParams: 'CAAQu2kiEwjvtIeEweeJAxUdj9gFHZpcCwY=',
adBreakHeartbeatParams: 'Q0FBJTNE',
frameworkUpdates: { entityBatchUpdate: [Object] }
}My server is affected by this issue, I tried this fix but unfortunately it doesn't really solve the issue 🙁 Other library like |
|
Sorry to hear that. I hove no idea about fixing it currently. Maybe we need more time to find out a stable solution for this problem. My project replace the scrawler with a third-party api now to overcome the problem temporarily. |
No description provided.