mirror of
https://github.com/TeamPiped/RYD-Proxy.git
synced 2024-12-12 21:30:40 +05:30
Update readme.
This commit is contained in:
parent
ba1100a676
commit
fe84a4c613
22
README.md
22
README.md
@ -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
|
||||
|
2
main.go
2
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")
|
||||
|
Loading…
Reference in New Issue
Block a user