StreaMonitor icon indicating copy to clipboard operation
StreaMonitor copied to clipboard

Flirt4Free doesn't record and is returning unknown error

Open prosauce86 opened this issue 2 years ago • 8 comments

I don't think it's user error on my part, everything seems to work fine for other sites. I can see the model is online in the browser but something isn't working. I looked through the flirt4free.py file to see if there was anything obvious but nothing popped out. I also tried turning DEBUG on but there was no additional info. Can you check or advise please

Status: Free space: #####%

+-----------------+------------+---------+-----------------------+ | Username | Site | Started | Status | +-----------------+------------+---------+-----------------------+ | audrey-piper | Flirt4Free | True | Unknown error | | chaturbatable | Chaturbate | False | Not running | | reece-taylor | Flirt4Free | True | Unknown error | | RuthLee | StripChat | True | No stream | | sam-lennox | Flirt4Free | True | Unknown error | | amalia-lynn | Flirt4Free | True | Unknown error | +-----------------+------------+---------+-----------------------+

prosauce86 avatar Jan 27 '23 23:01 prosauce86

It works for me. Maybe you can try to remove and re-add the streamers

lossless1024 avatar Jan 29 '23 14:01 lossless1024

I've done that several times with no luck. Seems to be only flirt4free that isn't working. Any suggestions to get more info other than just Unknown Error?

prosauce86 avatar Jan 29 '23 17:01 prosauce86

Is there really nothing else that can be done to investigate this? I've added and removed streamers in just about every way possible but the result is always "unknown error". Seems really strange that it's working for all sites but this particular one.

prosauce86 avatar Feb 08 '23 02:02 prosauce86

You could try to fetch the stream link and pass it directly to FFMPEG and see how it behaves. Through the analysis of the HTML code you have to recover the link of the video stream, the link of the web page is not good.

ThEnGI avatar Feb 08 '23 07:02 ThEnGI

Does the Downloader.py shows something?

The extraction StreaMonitor uses works. Both API calls and the web page call work. I created a small extractor which is able to give the URL by using StreaMonitors way.

The only possible things would be:

  1. A network error.
  2. A dependency error. Setup a clean virtual environment for python, install deps cleanly and make sure ffmpeg is usable and has a recent version which is compiled correctly.
  3. Try to emulate StreaMonitors behaviour by doing the same the extractor and downlaoder dows. The code has no error debugging in a way that will give information about every single step the code does. So if something strange happens it will not be obvious and clearly identifiable.

In case you need a clean environment you could also try running StreaMonitor in Docker. I recommand switching Buster to Bullseye. Buster is oldstable and in fact EOL only ELTS is available.

DerBunteBall avatar Feb 08 '23 08:02 DerBunteBall

Still no luck with this. Facing the same issue and at this point I'm out of ideas.

Since the last time I've tried:

  • a complete reinstall including updates to all dependencies
  • installed on separate windows machine
  • tried on a VM running ubuntu 22.04
  • @DerBunteBall and your suggestion of running in docker w/ bullseye although buster worked as well

"Does the Downloader.py shows something?" - No, nothing other than "Unknown error"

Beginning to think it could be some network error but no idea what, especially since I can watch via browser, but that's useless for the purposes of this tool.

prosauce86 avatar Mar 17 '23 17:03 prosauce86

Sorry to be a pain with this, but I think I've found part of the issue. Having inspected the html, it seems the model dictionary from the GET request in flirt4free.py is coming back empty, therefore no json to pull the room_id.

window.homePageData = {

  | 'models': [   | ],   | 'favorites': [   | ],   | 'promoMarkup':......

By copying the model id in the network tab of the browser's inspector, I can add it to the model's entry in config.json and I can see "Channel Online". But that's a pain and I don't think the id is a static value. Not sure if anyone else has this issue or I'm just unlucky

prosauce86 avatar May 04 '23 04:05 prosauce86

This needs to be bumped, something changed and now the f4f bot won't work.

xAstroBoy avatar Aug 27 '24 19:08 xAstroBoy