Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online Models Detected as Offline #61

Closed
DarkPunk420 opened this issue Jul 2, 2024 · 19 comments
Closed

Online Models Detected as Offline #61

DarkPunk420 opened this issue Jul 2, 2024 · 19 comments
Assignees

Comments

@DarkPunk420
Copy link

I use your command line utility in Terminal on Kubuntu 22.04. As of July 1st a number of jurisdictions are enforcing age verification for guest/anonymous accounts on CB, and other sites to follow. To pass the challenge a picture of your face or government ID is required. The result for me is that streams are detected as offline when they are broadcasting. In my case stream captures are only successful about 1 out of 10 attempts. Not sure if this will get worse or not. The results are the same for me in the Web GUI in Chrome whether logged in or not. This clearly isn't a problem with your code, and I'm not sure anything can be done about it. I just thought you would like to know. Obviously, there are other solutions available to the people affected if they still want to use your program.

@YamiOdymel
Copy link
Member

YamiOdymel commented Jul 2, 2024

hmmm interesting, and that's indeed lot's of information.

May I ask what country you live in?

@DarkPunk420
Copy link
Author

DarkPunk420 commented Jul 2, 2024

US, hard to say which states will be affected since the law went into affect in California.

@YamiOdymel YamiOdymel self-assigned this Jul 25, 2024
@SamirPRO1
Copy link

Florida is ok so far, also most other countries outside US are fine, maybe some way to implement importing cookies from an already logged in browser helps with this

@teacat teacat deleted a comment from DarlingKara Jul 25, 2024
@atrujillo314
Copy link

I may have found the issue that causes this I was using a VPN getting the same error but switched it off and the models were online again

@davepmer
Copy link

Same issue, no VPN in US. Believe it has to do with the new reverify your age pop up when opening www.chaturbate.com This is stopping the routine to determine if models are on line.

@YamiOdymel
Copy link
Member

YamiOdymel commented Aug 20, 2024

I just tested it, and I don't think that's the case, though I had the same thought.

The stream continues playing in the background even though I haven't agreed to the terms, even after switching to 4G LTE for a new IP.

image

===

I also checked their code, and the 'Agree' button seems to simply close the window and prevent it from reminding again.

buildTermsCookie is used by the browser to remember not to show the notice next time, while window.newrelic is just a monitoring and data collection function.

image

image

@davepmer
Copy link

Not the screen I get
Screenshot from 2024-08-20 10-15-11

@YamiOdymel
Copy link
Member

OH NO that doesn't look good, what does the verification do? simply ask for birthday?

@davepmer
Copy link

the verification wants to scan your ID, I used my phone to verify. if I use a browser that I logged into the screen does not reappear, but if I log out or use a browser I never logged into it wants to verify again

@davepmer
Copy link

So far the only work around is to use a VPN that is not in the US

@DarkPunk420
Copy link
Author

I tested manually exporting cookies to cookies.txt for use in Youtube-DL. I was able to successfully capture a stream from CB. After hours of searching, this is all I can offer since I have no experience with Python or GO.

@YamiOdymel
Copy link
Member

YamiOdymel commented Aug 27, 2024

@DarkPunk420 So you copied the cookie after you passed the identity confirmation?

Could you share how the cookie strings look like, or what keys it uses?
(remember to censored/delete the value to protect your information)

Maybe I should make an extra field for manually input the cookie. If so, this may also solve #15

@DarkPunk420
Copy link
Author

DarkPunk420 commented Aug 27, 2024

I know very little about cookies. My cookies.txt file has 15 lines in it, and I am not sure what is relevant or needs to be protected. It might help with the other issue since I used a cookie from a logged in account instead of the age verification anonymous cookie.

The cookie that I tested with youtube-dl was from my logged in account. I used a chrome extension (Get cookies.txt Clean) to export the cookie to plain text netscape/mozilla format. Then I used the built in option --cookies in youtube-dl. This was on my windows PC.

youtube-dl -f best --cookies cookies.txt https://chaturbate.com/model/

I have not tested the age verification cookie on my Linux PC. Since youtube-dl isn't setup there I'll test it later.

@DarkPunk420
Copy link
Author

DarkPunk420 commented Aug 27, 2024

So here are the cookie.txt contents(heavily censored). Hope this helps!

@DarkPunk420
Copy link
Author

After a couple of days this method is still working to capture streams. I did have to manually refresh my cookies though. I was looking into yt-dlp since it shares it's code base with Youtube-Dl, and it does have functionality to pull cookies automatically. However, that functionality was broken by a Chromium update that locks cookies by default.

@joshkerr
Copy link

I'm in Texas where the state is censoring CB. I can confirm that if you login via the website and grab the cookie, it works fine with youtube-dl and yt-dlp. I would suggest adding a feature to your app that allows one to paste in a cookie and then passing that cookie to the site when requesting resources.

@DarkPunk420
Copy link
Author

DarkPunk420 commented Sep 30, 2024

Done.

@YamiOdymel
Copy link
Member

Just a heads-up: I plan to add a feature to import cookies, but not right now; as I've been busy and haven't had much time for the project :(

@819041636
Copy link

提醒一下:我计划添加一个导入 cookie 的功能,但现在不行;因为我一直很忙,没有太多时间进行项目:(

please! its importent for me ! many channel is outline even they online

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants