diff --git a/README.md b/README.md index b96ea31..249e14d 100644 --- a/README.md +++ b/README.md @@ -1 +1,21 @@ -# RYD-Proxy \ No newline at end of file +# RYD-Proxy + +An open-source, non-logging proxy for the "Return YouTube Dislike" API server. + +Only fetching the Dislike count is supported, and will ever be supported. + +Requests are spoofed to look like how they would appear when using the Tor Browser with the official extension. + +IPs are rotated every 2 minutes to avoid rate limiting. + +## Example Request + +https://ryd-proxy.kavin.rocks/votes/dQw4w9WgXcQ + +```js +{"id":"dQw4w9WgXcQ","dateCreated":"2022-04-09T22:01:38.222268Z","likes":14589269,"dislikes":390375,"rating":4.8957585373858015,"viewCount":1232906190,"deleted":false} +``` + +## Why + +https://github.com/Anarios/return-youtube-dislike/issues/344 diff --git a/main.go b/main.go index 7d5a796..9f17213 100644 --- a/main.go +++ b/main.go @@ -67,7 +67,7 @@ func handler(c *fiber.Ctx) error { } for true { - req, _ := http.NewRequest("GET", "https://returnyoutubedislikeapi.com/Votes?videoId="+videoId, nil) + req, _ := http.NewRequest("GET", "https://returnyoutubedislikeapi.com/Votes?videoId="+videoId+"&likeCount=", nil) req.Header.Add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0") req.Header.Add("Accept", "application/json")