From 0f7afa9bd018f98ccf69acadddeb2c188fcf722c Mon Sep 17 00:00:00 2001 From: Sofiane Louchene Date: Mon, 17 Oct 2022 13:54:12 +0200 Subject: [PATCH] fix: add Youtube to work again --- removed_sites.json | 8 -------- removed_sites.md | 16 ---------------- sherlock/resources/data.json | 22 ++++++++++++++++++++++ 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/removed_sites.json b/removed_sites.json index 938e4fe..d8b953c 100644 --- a/removed_sites.json +++ b/removed_sites.json @@ -532,14 +532,6 @@ "username_claimed": "blue", "username_unclaimed": "noonewouldeverusethis7" }, - "YouTube": { - "errorMsg": "This page isn't available", - "errorType": "message", - "url": "https://www.youtube.com/{}", - "urlMain": "https://www.youtube.com/", - "username_claimed": "blue", - "username_unclaimed": "noonewouldeverusethis7" - }, "House-Mixes.com": { "errorMsg": "Profile Not Found", "errorType": "message", diff --git a/removed_sites.md b/removed_sites.md index 01accb1..bc91236 100644 --- a/removed_sites.md +++ b/removed_sites.md @@ -1125,22 +1125,6 @@ As of 2021-06-27, Trip takes too long to return a response. As of now, the reaso ``` -## YouTube - -As of 2021-06-27, there is no way of checking if a username exists on YouTube. We'll have to take a deeper look -into this as YouTube is must have site in Sherlock. - -```json - "YouTube": { - "errorMsg": "This page isn't available", - "errorType": "message", - "url": "https://www.youtube.com/{}", - "urlMain": "https://www.youtube.com/", - "username_claimed": "blue", - "username_unclaimed": "noonewouldeverusethis7" - } -``` - ### House Mixes As of 2021-09-04, House Mixes has issues connecting causing Sherlock to freeze. diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json index c1cda3b..f2324de 100644 --- a/sherlock/resources/data.json +++ b/sherlock/resources/data.json @@ -2826,5 +2826,27 @@ "urlMain": "https://www.zoomit.ir", "username_claimed": "kossher", "username_unclaimed": "noonewouldeverusethis7" + }, + "Youtube Channel": { + "errorType": "status_code", + "errorCode": 404, + "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", + "username_unclaimed": "noonewouldeverusethis7" + }, + "Youtube User": { + "errorType": "status_code", + "errorCode": 404, + "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" } }