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

Chaturbate issue (room currently offline) #23010

Closed
5 tasks done
blastphemererik opened this issue Nov 8, 2019 · 28 comments
Closed
5 tasks done

Chaturbate issue (room currently offline) #23010

blastphemererik opened this issue Nov 8, 2019 · 28 comments

Comments

@blastphemererik
Copy link

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.11.05
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://chaturbate.com/lovely_monic/']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2019.11.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-94953-gef50cf7b32, ffprobe N-94953-gef50cf7b32
[debug] Proxy map: {}
[Chaturbate] lovely_monic: Downloading webpage
ERROR: Room is currently offline
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a0
9v\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a0
9v\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a0
9v\build\youtube_dl\extractor\chaturbate.py", line 61, in _real_extract
youtube_dl.utils.ExtractorError: Room is currently offline

Description

It doesn't matter if a model is online, youtube-dl always says that the room is offline. Everything was fine today, the problems started a few hours ago. It seems the site got updated.

@ghost
Copy link

ghost commented Nov 8, 2019

Having the same issue, sucks :( Hopefully there is a fix soon

@pcjamesy
Copy link

pcjamesy commented Nov 8, 2019

Same

@altDark
Copy link

altDark commented Nov 8, 2019

The same issue

@cb123321
Copy link

cb123321 commented Nov 8, 2019

Hello, when will official installation be updated with this fix?

@mindphasar
Copy link

the same problem
the site chatrubate now reports that the room is offline but the cam is active and broadcasts

@asdasddffgthhjtreresf
Copy link

asdasddffgthhjtreresf commented Nov 8, 2019

Im having the same problem. Please fix. :( Thanks.
edit: Its saying:
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[Chaturbate] sensualica: Downloading webpage
ERROR: Room is currently offline

Edit2: I set the correct LC_ALL variables, but it doesent help. Not a single one url works. Tried with 10 different rooms.

@ghost
Copy link

ghost commented Nov 8, 2019

I wrote a temporary fix for anyone else who doesn't want to wait for an official patch. Just replace the file at youtube_dl/extractor/chaturbate.py
The changes are on lines 43 through 48 if you are worried about the security of the changes.
chaturbate.zip

@asdasddffgthhjtreresf
Copy link

I wrote a temporary fix for anyone else who doesn't want to wait for an official patch. Just replace the file at youtube_dl/extractor/chaturbate.py
The changes are on lines 43 through 48 if you are worried about the security of the changes.
chaturbate.zip

Thanks! It works!

@cb123321
Copy link

cb123321 commented Nov 8, 2019

@r33bow Thank you! <3

@ghost
Copy link

ghost commented Nov 9, 2019

@r33bow and others - any thought on how to apply this change to a Windows box? I can't swap that file when using the .exe

@ghost
Copy link

ghost commented Nov 9, 2019

@r33bow fix works on Windows too, but you have to use source and not the binary.

  1. Install Python for Windows
  2. Install git
  3. Clone this project repo git clone https://github.com/ytdl-org/youtube-dl/
  4. cd youtube-dl
  5. Execute to confirm the same problem as the binary python -m youtube_dl [URL_HERE]
  6. You should get the same result as you were getting with the binary
  7. Replace the ./extractor/chaturbate.py file with the one provided by @r33bow
  8. Re-run the command python -m youtube_dl [URL_HERE]
  9. Should work!

@jeffkerby
Copy link

I cannot seem to locate the path to replace the chaturbate.py on my Ubuntu box, where is this located?

@asdasddffgthhjtreresf
Copy link

I cannot seem to locate the path to replace the chaturbate.py on my Ubuntu box, where is this located?

/usr/lib/python3/dist-packages/youtube_dl
or different python version folder on /usr/lib/

@jeffkerby
Copy link

Thanks, I dropped it in there and replaced the file, restarted the server and still nothing.

@asdasddffgthhjtreresf
Copy link

Oh. The full path is /usr/lib/python3/dist-packages/youtube_dl/extractor
so you need to put it in the extractor folder. And make sure it has 644 permissions (rw-r-r).

@sub-zer087
Copy link

noob here, how can i apply this temporary fix in a raspbian (raspberry pi 4 ) installation?
i tried to find the youtube-dl folder but i only find a file named youtube-dl in /usr/local/bin/

@therixor
Copy link

therixor commented Nov 9, 2019

i replaced it but it still wont work for some reason...

@biodrone
Copy link

biodrone commented Nov 9, 2019

@KamikAze87 if you run pip show youtube-dl (or use pip3 depending on how you've installed it) it should show a location parameter.

@sub-zer087
Copy link

With both it gives me command not found, i installed it with the curl command, its the first option from here https://ytdl-org.github.io/youtube-dl/download.html

@ghost
Copy link

ghost commented Nov 9, 2019

This won't work if you run it from binaries (e.g. exe). You have to run it via python from source using steps described in the linked post. Similar steps should work on any operating system.
#23010 (comment)

@biodrone
Copy link

biodrone commented Nov 9, 2019

Yeah @KamikAze87, run sudo rm /usr/local/bin/youtube-dland then either follow the steps in the comment above or the pip installation steps from that link if you want to be able to patch it this way.

@sub-zer087
Copy link

Thank you, installed with pip, applied the fix and its working

@jeffkerby
Copy link

Unfortunately, nothing seems to work.

Followed everything and placed the chaturbate.py in the /usr/lib/python2.7/dist-packages/youtube_dl/extractor directory and set permissions to 644. Everything still shows offline.

@ghost
Copy link

ghost commented Nov 11, 2019 via email

@therixor
Copy link

tryed it with the fix and it worked with python3.5 but not with python3.4, no idea why...

@biodrone
Copy link

Interesting, it worked for me using 3.7.5.

@petercheat
Copy link

for those who can not apply the patch, a workaround is to insert the cookie "cb_legacy=1"

for example:
youtube-dl --add-header "Cookie:cb_legacy=1" https://chaturbate.com/model/

I am not sure how long this will work.

@brendoncdrew
Copy link

Thx... fix workes for me as well

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

13 participants