Closed Tomato6966 closed 1 year ago
just changing the defaultUserAgent, did not fix it maybe cookies could?
just changing the defaultUserAgent, did not fix it maybe cookies could?
Maybe. Cloudflare checks are not easy to bypass afaik.
It's not really a cloudflare check, it's more a google captcha
It's not really a cloudflare check, it's more a google captcha
No, it's actually Cloudflare Captcha.
Okay
If you could show me where to insert what, to test cookies, I can test it
Sample code for setting headers:
new Genius.Client("your_token", {
requestOptions: {
headers: {
"user-agent": "your_custom_user_agent",
cookie: "cookies",
}
}
})
using cookies, doesnt fix it either
hmmm since I'm on ovh, I can't get lyrics anymore... sadge
Imma build some sort of a proxy cache wrapper then..
Thanks tho.
Closing this since this can't be fixed.
This is my initialization:
this is my command:
This is the output:
It is because this happens when u fetch the uri: https://milrato.com/codeshare/code/63a41dd1b7ad972a43f9380a
But when I open it in the BROWSER of the SERVER where I'M making the request of, it does not show cloudflare:
Please make it possible to change browser origin headers. So I can use the ones from my BROWSER (Firefox, linux, etc.) (defaultUserAgent ) because I'd need:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
cause lyrics you scrape