Flaresolverr problem #655

Closed
opened 2026-01-15 16:46:48 +00:00 by GLlgGL · 20 comments
GLlgGL commented 2026-01-15 16:46:48 +00:00 (Migrated from github.com)

Hey

2026-01-15T16:35:26.604Z warn 1c7d4672-f00a-4857-a713-8b2fd6f048a1: shqipflix: Request to https://shqipflix.cc/api/content?v=1768494924921 was blocked, reason: flaresolverr_failed, headers: {}.

Can you test why...

I tested on another old version of webstreamr and works

Maybe the problem changes you did on fetcher.ts

Hey 2026-01-15T16:35:26.604Z warn 1c7d4672-f00a-4857-a713-8b2fd6f048a1: shqipflix: Request to https://shqipflix.cc/api/content?v=1768494924921 was blocked, reason: flaresolverr_failed, headers: {}. Can you test why... I tested on another old version of webstreamr and works Maybe the problem changes you did on fetcher.ts
webstreamr commented 2026-01-15 16:50:25 +00:00 (Migrated from github.com)

It's not really possible for me to test, you mentioned basis auth, could be that? If not, checking flaresolverr logs would be useful.

If you host both webstreamr and flaresolverr locally there should also not be a need for basic auth imo

It's not really possible for me to test, you mentioned basis auth, could be that? If not, checking flaresolverr logs would be useful. If you host both webstreamr and flaresolverr locally there should also not be a need for basic auth imo
GLlgGL commented 2026-01-15 17:00:43 +00:00 (Migrated from github.com)

No i am not using basic auth

Same flaresolverr with same source code used on webstreamr(latest) shows that with an old version where you were not using axios it worms very well...

With this one works well

https://github.com/GLlgGL/webstreamr/blob/main/Fetcher.ts

This is the source code

https://github.com/GLlgGL/webstreamr/blob/main/src/source/Shqipflix.ts

No i am not using basic auth Same flaresolverr with same source code used on webstreamr(latest) shows that with an old version where you were not using axios it worms very well... With this one works well https://github.com/GLlgGL/webstreamr/blob/main/Fetcher.ts This is the source code https://github.com/GLlgGL/webstreamr/blob/main/src/source/Shqipflix.ts
webstreamr commented 2026-01-15 18:31:19 +00:00 (Migrated from github.com)

Got it, I'll check it soon

Got it, I'll check it soon
webstreamr commented 2026-01-15 20:23:12 +00:00 (Migrated from github.com)

ok I tried, but I'm not sure what to look for, help me out please. I added the source and did a request with a movie that is on the site. it didn't get any results but I see this in the logs

2026-01-15T20:21:16.093Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Search stream for type "movie" and id "tt1302011" for ip <REDACTED>
2026-01-15T20:21:16.100Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Fetch GET https://api.themoviedb.org/3/find/tt1302011?external_source=imdb_id via proxy socks5://172.17.0.1:1080
2026-01-15T20:21:16.304Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Got 200 (OK) for https://api.themoviedb.org/3/find/tt1302011?external_source=imdb_id
2026-01-15T20:21:16.306Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Fetch GET https://shqipflix.cc/api/content?v=1768508476306 with referer https://shqipflix.cc/ via proxy socks5://172.17.0.1:1080
2026-01-15T20:21:16.587Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Got 200 (OK) for https://shqipflix.cc/api/content?v=1768508476306
2026-01-15T20:21:16.592Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Fetch GET https://shqipflix.cc/api/content/10e00b1a-4eae-4a5c-81e5-6c920d4e9535?v=1768508476590 with referer https://shqipflix.cc/movie/365 via proxy socks5://172.17.0.1:1080
2026-01-15T20:21:16.654Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Got 200 (OK) for https://shqipflix.cc/api/content/10e00b1a-4eae-4a5c-81e5-6c920d4e9535?v=1768508476590
2026-01-15T20:21:16.657Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc:     Got 0 url results, including 0 errors

same without the proxy btw

ok I tried, but I'm not sure what to look for, help me out please. I added the source and did a request with a movie that is on the site. it didn't get any results but I see this in the logs ``` 2026-01-15T20:21:16.093Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Search stream for type "movie" and id "tt1302011" for ip <REDACTED> 2026-01-15T20:21:16.100Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Fetch GET https://api.themoviedb.org/3/find/tt1302011?external_source=imdb_id via proxy socks5://172.17.0.1:1080 2026-01-15T20:21:16.304Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Got 200 (OK) for https://api.themoviedb.org/3/find/tt1302011?external_source=imdb_id 2026-01-15T20:21:16.306Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Fetch GET https://shqipflix.cc/api/content?v=1768508476306 with referer https://shqipflix.cc/ via proxy socks5://172.17.0.1:1080 2026-01-15T20:21:16.587Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Got 200 (OK) for https://shqipflix.cc/api/content?v=1768508476306 2026-01-15T20:21:16.592Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Fetch GET https://shqipflix.cc/api/content/10e00b1a-4eae-4a5c-81e5-6c920d4e9535?v=1768508476590 with referer https://shqipflix.cc/movie/365 via proxy socks5://172.17.0.1:1080 2026-01-15T20:21:16.654Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Got 200 (OK) for https://shqipflix.cc/api/content/10e00b1a-4eae-4a5c-81e5-6c920d4e9535?v=1768508476590 2026-01-15T20:21:16.657Z info ca73d2ae-3ba0-4755-8929-ea74729f5bcc: Got 0 url results, including 0 errors ``` same without the proxy btw
GLlgGL commented 2026-01-15 20:54:34 +00:00 (Migrated from github.com)

here are the embeds
https://shqipflix.cc/api/content/10e00b1a-4eae-4a5c-81e5-6c920d4e9535?v=1768508476590

the code should also get the embeds right(vidmoly and voe(it has a missing domain in your current voe extractor)

you arent hiting cloudflare because you tested localy right?

I am using vercel or render and deploying there the cloudflare appears and there is where flaresolverr takes the ride.

Here are logs working with your old fetcher

2026-01-15 20:48:53.293 [info] 2026-01-15T20:48:53.291Z info 9ef36490-e653-4d75-8107-baea18b6a134: Search stream for type "movie" and id "tt22740896" for ip 185.187.0.130
2026-01-15 20:48:53.304 [info] 2026-01-15T20:48:53.303Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://api.themoviedb.org/3/find/tt22740896?external_source=imdb_id
2026-01-15 20:48:53.365 [info] 2026-01-15T20:48:53.358Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for https://api.themoviedb.org/3/find/tt22740896?external_source=imdb_id
2026-01-15 20:48:53.371 [info] 2026-01-15T20:48:53.370Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://shqipflix.cc/api/content?v=1768510133367 with referer https://shqipflix.cc/
2026-01-15 20:48:53.470 [info] 2026-01-15T20:48:53.468Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 403 (Forbidden) for https://shqipflix.cc/api/content?v=1768510133367
2026-01-15 20:48:53.485 [info] 2026-01-15T20:48:53.477Z info 9ef36490-e653-4d75-8107-baea18b6a134: Query FlareSolverr for https://shqipflix.cc/api/content?v=1768510133367
2026-01-15 20:48:53.485 [info] 2026-01-15T20:48:53.478Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch POST http://justdont.xxxxxxxx:8191/v1
2026-01-15 20:48:54.410 [info] 2026-01-15T20:48:54.409Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for http://justdont.xxxxxxx:8191/v1
2026-01-15 20:48:54.944 [info] 2026-01-15T20:48:54.943Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://shqipflix.cc/api/content/80cf009c-ecc7-45e2-8974-846a87355f9c?v=1768510134942 with referer https://shqipflix.cc/movie/356
2026-01-15 20:48:54.976 [info] 2026-01-15T20:48:54.975Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 403 (Forbidden) for https://shqipflix.cc/api/content/80cf009c-ecc7-45e2-8974-846a87355f9c?v=1768510134942
2026-01-15 20:48:54.981 [info] 2026-01-15T20:48:54.980Z info 9ef36490-e653-4d75-8107-baea18b6a134: Query FlareSolverr for https://shqipflix.cc/api/content/80cf009c-ecc7-45e2-8974-846a87355f9c?v=1768510134942
2026-01-15 20:48:54.981 [info] 2026-01-15T20:48:54.981Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch POST http://justdont.xxxxx:8191/v1
2026-01-15 20:48:55.338 [info] 2026-01-15T20:48:55.335Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for http://justdont.xxx:8191/v1
2026-01-15 20:48:55.343 [info] 2026-01-15T20:48:55.342Z info 9ef36490-e653-4d75-8107-baea18b6a134: Extract https://smoki.cc/e/gxhknhlkxxir using voe extractor
2026-01-15 20:48:55.344 [info] 2026-01-15T20:48:55.344Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://smoki.cc/gxhknhlkxxir with referer https://shqipflix.cc/movie/356
2026-01-15 20:48:55.347 [info] 2026-01-15T20:48:55.346Z info 9ef36490-e653-4d75-8107-baea18b6a134: Extract https://vidmoly.net/embed-5e7812bxg0bf.html using Vidmoly extractor
2026-01-15 20:48:55.348 [info] 2026-01-15T20:48:55.347Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://vidmoly.net/embed-5e7812bxg0bf.html
2026-01-15 20:48:55.544 [info] 2026-01-15T20:48:55.543Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for https://vidmoly.net/embed-5e7812bxg0bf.html
2026-01-15 20:48:55.547 [info] 2026-01-15T20:48:55.546Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://vidmoly.net/5e7812bxg0bf.html
2026-01-15 20:48:55.811 [info] 2026-01-15T20:48:55.810Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for https://smoki.cc/gxhknhlkxxir
2026-01-15 20:48:56.216 [info] 2026-01-15T20:48:56.215Z info 9ef36490-e653-4d75-8107-baea18b6a134:

here are the embeds https://shqipflix.cc/api/content/10e00b1a-4eae-4a5c-81e5-6c920d4e9535?v=1768508476590 the code should also get the embeds right(vidmoly and voe(it has a missing domain in your current voe extractor) you arent hiting cloudflare because you tested localy right? I am using vercel or render and deploying there the cloudflare appears and there is where flaresolverr takes the ride. Here are logs working with your old fetcher 2026-01-15 20:48:53.293 [info] 2026-01-15T20:48:53.291Z info 9ef36490-e653-4d75-8107-baea18b6a134: Search stream for type "movie" and id "tt22740896" for ip 185.187.0.130 2026-01-15 20:48:53.304 [info] 2026-01-15T20:48:53.303Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://api.themoviedb.org/3/find/tt22740896?external_source=imdb_id 2026-01-15 20:48:53.365 [info] 2026-01-15T20:48:53.358Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for https://api.themoviedb.org/3/find/tt22740896?external_source=imdb_id 2026-01-15 20:48:53.371 [info] 2026-01-15T20:48:53.370Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://shqipflix.cc/api/content?v=1768510133367 with referer https://shqipflix.cc/ 2026-01-15 20:48:53.470 [info] 2026-01-15T20:48:53.468Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 403 (Forbidden) for https://shqipflix.cc/api/content?v=1768510133367 2026-01-15 20:48:53.485 [info] 2026-01-15T20:48:53.477Z info 9ef36490-e653-4d75-8107-baea18b6a134: Query FlareSolverr for https://shqipflix.cc/api/content?v=1768510133367 2026-01-15 20:48:53.485 [info] 2026-01-15T20:48:53.478Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch POST http://justdont.xxxxxxxx:8191/v1 2026-01-15 20:48:54.410 [info] 2026-01-15T20:48:54.409Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for http://justdont.xxxxxxx:8191/v1 2026-01-15 20:48:54.944 [info] 2026-01-15T20:48:54.943Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://shqipflix.cc/api/content/80cf009c-ecc7-45e2-8974-846a87355f9c?v=1768510134942 with referer https://shqipflix.cc/movie/356 2026-01-15 20:48:54.976 [info] 2026-01-15T20:48:54.975Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 403 (Forbidden) for https://shqipflix.cc/api/content/80cf009c-ecc7-45e2-8974-846a87355f9c?v=1768510134942 2026-01-15 20:48:54.981 [info] 2026-01-15T20:48:54.980Z info 9ef36490-e653-4d75-8107-baea18b6a134: Query FlareSolverr for https://shqipflix.cc/api/content/80cf009c-ecc7-45e2-8974-846a87355f9c?v=1768510134942 2026-01-15 20:48:54.981 [info] 2026-01-15T20:48:54.981Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch POST http://justdont.xxxxx:8191/v1 2026-01-15 20:48:55.338 [info] 2026-01-15T20:48:55.335Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for http://justdont.xxx:8191/v1 2026-01-15 20:48:55.343 [info] 2026-01-15T20:48:55.342Z info 9ef36490-e653-4d75-8107-baea18b6a134: Extract https://smoki.cc/e/gxhknhlkxxir using voe extractor 2026-01-15 20:48:55.344 [info] 2026-01-15T20:48:55.344Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://smoki.cc/gxhknhlkxxir with referer https://shqipflix.cc/movie/356 2026-01-15 20:48:55.347 [info] 2026-01-15T20:48:55.346Z info 9ef36490-e653-4d75-8107-baea18b6a134: Extract https://vidmoly.net/embed-5e7812bxg0bf.html using Vidmoly extractor 2026-01-15 20:48:55.348 [info] 2026-01-15T20:48:55.347Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://vidmoly.net/embed-5e7812bxg0bf.html 2026-01-15 20:48:55.544 [info] 2026-01-15T20:48:55.543Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for https://vidmoly.net/embed-5e7812bxg0bf.html 2026-01-15 20:48:55.547 [info] 2026-01-15T20:48:55.546Z info 9ef36490-e653-4d75-8107-baea18b6a134: Fetch GET https://vidmoly.net/5e7812bxg0bf.html 2026-01-15 20:48:55.811 [info] 2026-01-15T20:48:55.810Z info 9ef36490-e653-4d75-8107-baea18b6a134: Got 200 (OK) for https://smoki.cc/gxhknhlkxxir 2026-01-15 20:48:56.216 [info] 2026-01-15T20:48:56.215Z info 9ef36490-e653-4d75-8107-baea18b6a134:
GLlgGL commented 2026-01-15 20:59:17 +00:00 (Migrated from github.com)

Same code with your existing version of addon(fetcher) not working and giving that header problem

So its not a cod eproblem, its not a flaresolverr problem.

Same code with your existing version of addon(fetcher) not working and giving that header problem So its not a cod eproblem, its not a flaresolverr problem.
webstreamr commented 2026-01-15 21:14:22 +00:00 (Migrated from github.com)

I was trying on my oracle vps. I'd need any url, must not be related to that source even, to test flaresolverr. I have a couple of sites which should be usable for testing, will try to check it out tomorrow

I was trying on my oracle vps. I'd need any url, must not be related to that source even, to test flaresolverr. I have a couple of sites which should be usable for testing, will try to check it out tomorrow
GLlgGL commented 2026-01-15 21:22:15 +00:00 (Migrated from github.com)

Ok thanks

Ok thanks
GLlgGL commented 2026-01-16 07:47:20 +00:00 (Migrated from github.com)

aby the way you are using free tier on oracle?

If yes can it handle both mediaflow and some addons 2-3

aby the way you are using free tier on oracle? If yes can it handle both mediaflow and some addons 2-3
webstreamr commented 2026-01-16 08:13:12 +00:00 (Migrated from github.com)

free tier payg, yes. it can easily handle that and way way more. the only thing is that you most likely have to give them a credit card and then set it up carefully to avoid being charged. https://guides.viren070.me/selfhosting/oracle is the best guide to follow there to avoid issues, do not do anything AI tells you when it comes to which cpu or whatever to select, the guide is the way 😁

free tier payg, yes. it can easily handle that and way way more. the only thing is that you most likely have to give them a credit card and then set it up carefully to avoid being charged. https://guides.viren070.me/selfhosting/oracle is the best guide to follow there to avoid issues, do not do anything AI tells you when it comes to which cpu or whatever to select, the guide is the way 😁
GLlgGL commented 2026-01-16 08:29:20 +00:00 (Migrated from github.com)

Good

I will try to get my account back as I had one but for them to reset MFA they need the last four numbers i used on my bank card which I dont remember lol because was in 2022.

Opening a new one isnt posible as they detect my name through my bank card...

I will try to use another one which has a different name.

Good I will try to get my account back as I had one but for them to reset MFA they need the last four numbers i used on my bank card which I dont remember lol because was in 2022. Opening a new one isnt posible as they detect my name through my bank card... I will try to use another one which has a different name.
webstreamr commented 2026-01-16 09:04:04 +00:00 (Migrated from github.com)

good news about this issue here: should be fixed by 59c8495

I could test with hubdrive URLs which present challenges right now :D

and I requested getting FlareSolverr set-up for the public instance because it is integrated well and works very efficiently now

good news about this issue here: should be fixed by 59c8495 I could test with hubdrive URLs which present challenges right now :D and I requested getting FlareSolverr set-up for the public instance because it is integrated well and works very efficiently now
GLlgGL commented 2026-01-16 10:48:24 +00:00 (Migrated from github.com)

I can confirm, its working now.

I can confirm, its working now.
GLlgGL commented 2026-01-16 10:57:30 +00:00 (Migrated from github.com)

Also I am using it as curl lol just to request the content from those API because on my local instanse you already tests on other IP there isnt any challange only on vercel.

Also I am using it as curl lol just to request the content from those API because on my local instanse you already tests on other IP there isnt any challange only on vercel.
GLlgGL commented 2026-01-16 16:49:05 +00:00 (Migrated from github.com)

Another question I have, can we use proxy on requests?

For example run this request on proxy

get
https://shqipflix.cc/api/content?v=1768508476306p

Do you already support this?

Like we did with dood for example

Another question I have, can we use proxy on requests? For example run this request on proxy get https://shqipflix.cc/api/content?v=1768508476306p Do you already support this? Like we did with dood for example
webstreamr commented 2026-01-16 17:42:27 +00:00 (Migrated from github.com)

Yeah, check the readme for the proxy env var. You can use a proxy for everything or for just that domain. Or disable single domains and such

Yeah, check the readme for the proxy env var. You can use a proxy for everything or for just that domain. Or disable single domains and such
GLlgGL commented 2026-01-16 18:06:04 +00:00 (Migrated from github.com)

So i just put the domain and proxy on the env and it will autodetect every request that contains that domain right?

For ex

shqipflix.cc:http://user:pass@p.xxxxxio:80

So all requests containing that domain will go through proxy?

So i just put the domain and proxy on the env and it will autodetect every request that contains that domain right? For ex shqipflix.cc:http://user:pass@p.xxxxxio:80 So all requests containing that domain will go through proxy?
webstreamr commented 2026-01-16 19:58:37 +00:00 (Migrated from github.com)

correct

correct
GLlgGL commented 2026-01-16 21:09:17 +00:00 (Migrated from github.com)

Yes is working now...

I have another wuestion sorry.

one of those API have all the catalog of movies and series(their uuid which has inside the embeds).

To reduce the requests done on the API can I save these api data and before request again for a movie it first search on that cache/database and if not found it can do the request.

Yes is working now... I have another wuestion sorry. one of those API have all the catalog of movies and series(their uuid which has inside the embeds). To reduce the requests done on the API can I save these api data and before request again for a movie it first search on that cache/database and if not found it can do the request.
webstreamr commented 2026-01-17 10:43:00 +00:00 (Migrated from github.com)

yeah, most likely the simplest is a in-memory memoized method directly in the source/extractor which holds that data for as long you specify. can be kept simple, e.g. like what I'm doing in 5fd62028ce/src/source/MegaKino.ts (L27-L30)

if the API has cache headers (see https://www.keycdn.com/blog/http-cache-headers#types-of-http-cache-headers) in the response and the ttl/expiration there is looking good to you, then you don't have to do anything because the fetcher has an http cache

yeah, most likely the simplest is a in-memory memoized method directly in the source/extractor which holds that data for as long you specify. can be kept simple, e.g. like what I'm doing in https://github.com/webstreamr/webstreamr/blob/5fd62028ce56e03750a4aa415760076cfed793ce/src/source/MegaKino.ts#L27-L30 if the API has cache headers (see https://www.keycdn.com/blog/http-cache-headers#types-of-http-cache-headers) in the response and the ttl/expiration there is looking good to you, then you don't have to do anything because the fetcher has an http cache
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Creepso/webstreamr-github#655
No description provided.