Skip to content
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

Adding back in youtube possibly? #1202

Closed
2 tasks done
Pabsb opened this issue Dec 2, 2021 · 9 comments
Closed
2 tasks done

Adding back in youtube possibly? #1202

Pabsb opened this issue Dec 2, 2021 · 9 comments
Labels
question Further information is requested

Comments

@Pabsb
Copy link

Pabsb commented Dec 2, 2021

  • I'm asking a question regarding Sherlock
  • 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.

@Pabsb Pabsb added the question Further information is requested label Dec 2, 2021
@sdushantha
Copy link
Member

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 :)

@pistasjis
Copy link

Maybe Invidious could work?

@sdushantha
Copy link
Member

@Odyssey346 I'm currently quite busy but feel free send a PR 👍

@P3nt3st3r123
Copy link

P3nt3st3r123 commented Oct 11, 2022

"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"
  },

@sdushantha
Copy link
Member

@P3nt3st3r123 feel free to send a PR :)

@everlearner
Copy link
Contributor

@sdushantha @P3nt3st3r123 Can I take this up?

@mrsofiane
Copy link

we can bypass thee google agreement by adding this cookie in headers :

"headers": {
      "Cookie": "CONSENT=YES+cb.20210418-17-p0.it+FX+917; "
    }, 

@P3nt3st3r123
Copy link

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
image

=> with CONSENT=YES+ in cookie, we might bypass "consent" popup

@sdushantha
Copy link
Member

YouTube has been added :)

"Youtube Channel": {
"errorCode": 404,
"errorType": "status_code",
"headers": {
"Cookie": "CONSENT=YES+cb.20210418-17-p0.it+FX+917; "
},
"url": "https://www.youtube.com/c/{}",
"urlMain": "https://www.youtube.com",
"username_claimed": "mkbhd"
},
"Youtube User": {
"errorCode": 404,
"errorType": "status_code",
"headers": {
"Cookie": "CONSENT=YES+cb.20210418-17-p0.it+FX+917; "
},
"url": "https://www.youtube.com/user/{}",
"urlMain": "https://www.youtube.com",
"username_claimed": "pewdiepie",
"username_unclaimed": "noonewouldeverusethis7"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants