Adding back in youtube possibly?
- [x] I'm asking a question regarding Sherlock
- [x] My question is not a tech support question.
Question
For adding youtube back you would need to change the URL to https://www.youtube.com/user/{} to find the user search if I am not mistaken and it would return back if it exists or not.
We used to have YouTube but the issue is that there is now a popup which asks us to agree to their privacy policies before it actually gives us a response to whether or not the account exists. If we find a way to fix this, YouTube will be added back :)
Maybe Invidious could work?
@Odyssey346 I'm currently quite busy but feel free send a PR :+1:
"YouTube Channel": {
"errorType": "status_code",
"request_method": "GET",
"urlProbe": "https://invidious.slipfox.xyz/c/{}",
"url": "https://youtube.com/c/{}/",
"urlMain": "https://www.youtube.com/",
"username_claimed": "electroboom",
"username_unclaimed": "noonewouldeverusethis7"
},
"YouTube User": {
"errorType": "status_code",
"request_method": "GET",
"urlProbe": "https://invidious.slipfox.xyz/user/{}",
"url": "https://youtube.com/user/{}/",
"urlMain": "https://www.youtube.com/",
"username_claimed": "pewdiepie",
"username_unclaimed": "noonewouldeverusethis7"
},
@P3nt3st3r123 feel free to send a PR :)
@sdushantha @P3nt3st3r123 Can I take this up?
we can bypass thee google agreement by adding this cookie in headers :
"headers": {
"Cookie": "CONSENT=YES+cb.20210418-17-p0.it+FX+917; "
},
Actually! They using the cookies CONSENT=YES+ Backend of invidious
https://github.com/iv-org/invidious/blob/221d47212753620076b44d670acc7cfcaba6d151/src/invidious/yt_backend/connection_pool.cr

=> with CONSENT=YES+ in cookie, we might bypass "consent" popup
YouTube has been added :) https://github.com/sherlock-project/sherlock/blob/5671077de321d34c216b8381c726093aa7ac9c62/sherlock/resources/data.json#L2094-L2114