Update readme.

This commit is contained in:
Kavin 2022-06-17 21:18:12 +01:00
parent ba1100a676
commit fe84a4c613
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
2 changed files with 22 additions and 2 deletions

View File

@ -1 +1,21 @@
# RYD-Proxy
# 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

View File

@ -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")