VidBingeApp / VidBinge

A web app for watching movies and shows easily
https://vidbinge.com
MIT License
92 stars 42 forks source link

What cors proxy is your using? #16

Closed harshascode closed 1 month ago

harshascode commented 1 month ago

How can I deploy this in cloudflair? Is there any docs or resources I can use.

The-UnknownHacker commented 1 month ago

This is the proxy documentation for sudo-flix but the setup should be similar https://docs.undi.rest/proxy/deploy

harshascode commented 1 month ago

Thanks a lot.

The-UnknownHacker commented 1 month ago

Welcome

harshascode commented 1 month ago

I deployed the site. but its not good as vidbinge. my website failed to scrape top 4 sources. my proxy working fine. do you know any solution for this or what i doing wrong here.

Screenshot_2024-08-01_22-43-04

The-UnknownHacker commented 1 month ago

Have you checked the TMDB Api keys as well as the scraper keys

harshascode commented 1 month ago

in dev mode the website works perfectly. i found that my proxy not working properly i tried multiple times. it always say its working in web page. but in gitpod when we hit the proxy form scrapper it giving some errors. i have no idea how to fix this. do you have any idea how to fix this.

This is the error log: Listening on http://[::]:3000 [nitro] [request error] [unhandled] Cannot set headers after they are sent to the client at ServerResponse.setHeader (node:_http_outgoing:659:11)
at defaultContentType (./.output/server/chunks/runtime.mjs:2228:20)
at send (./.output/server/chunks/runtime.mjs:2190:5)
at handleHandlerResponse (./.output/server/chunks/runtime.mjs:3008:12)
at Object.handler (./.output/server/chunks/runtime.mjs:2904:15)
at async Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3166:7) [nitro] [unhandledRejection] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (node:_http_outgoing:659:11) at setResponseHeader (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:2254:18) at defaultNitroErrorHandler (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:5173:7) at Object.onError (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:5437:14) at Server.toNodeHandle (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:3174:27) { code: 'ERR_HTTP_HEADERS_SENT' }

joshholly commented 1 month ago

I deployed the site. but its not good as vidbinge. my website failed to scrape top 4 sources. my proxy working fine. do you know any solution for this or what i doing wrong here.

Screenshot_2024-08-01_22-43-04

So WHVX and NSBX are private sources and only work on vidbinge and our partners. You may have to go into your providers, fork it, and pull the providers from your own fork with whvx and nsbx disabled.

harshascode commented 1 month ago

ok, now i understand why scrappers not working in my project. thank you for clarifying.