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 (fixed, please close) #1111

Closed
1 of 4 tasks
whitetop opened this issue Jul 23, 2017 · 11 comments
Closed
1 of 4 tasks

chaturbate (fixed, please close) #1111

whitetop opened this issue Jul 23, 2017 · 11 comments
Labels
invalid NSFW Not safe for work

Comments

@whitetop
Copy link

whitetop commented Jul 23, 2017

Checklist

  • This is a bug report.
  • This is a feature request.
  • This is a plugin (improvement) request.
  • I have read the contribution guidelines.

Description

Chaturbate has changed their player, i have read on stream-recorder site that they changed it and no script works due to it, its got many settings and is said to have 2 players.
...

Expected / Actual behavior

a fix for the updated players chaturbate did, script worked great till about 2 weeks ago due to the update they did on the site.
...

Reproduction steps / Explicit stream URLs to test

  1. changing code
  2. testing other scripts to rip streams
  3. tried the m3u8 links and still comes up can't find the model

Environment details

Operating system and version: ...
Streamlink and Python version: ...

latest one.

Comments, logs, screenshots, etc.

http://i.imgur.com/0MQISc0.jpg
...

@back-to
Copy link
Collaborator

back-to commented Jul 23, 2017

Not sure what your script there is,
but streamlink does only use HLS streams from chaturbate.

The script still works.

You can watch every FREE stream with streamlink

[Streamlink for Windows v0.7.0 - Git 5f658c8]
[cli][info] Found matching plugin chaturbate for URL https://chaturbate.com/...
[cli][info] Available streams: 240p (worst), 360p, 480p (best)
[cli][info] Opening stream: 480p (hls)
[cli][info] Starting player: "C:\Program Files\VLC\vlc.exe"

RTMP streams won't get added because it won't work with the current rtmpdump version in streamlink

@karlo2105
Copy link

Why not use ksv patched version of rtmpdump or update streamlink rtmpdump with ksv patches which are available ?

@0880
Copy link

0880 commented Jul 23, 2017

Waste of time. Flash is dead.

@whitetop
Copy link
Author

whitetop commented Jul 23, 2017

Sorry for late reply, email went to my spam folder.
I use this script and it worked great and fast.

@echo off
setlocal enableDelayedExpansion

set USERNAME=
set PASSWORD=
set CB_VERSION=9
set OUT_DIR=captures
set SECONDS=15

set /p model=Enter username: 
set model=%model:https://chaturbate.com/=%
set model=%model:/=%

if not exist %OUT_DIR% (mkdir %OUT_DIR%)

for /L %%i in (1,1,99) do (
  set N=!time:~9,12!
  set /a N=10000!N! %% 10000
  set rand=!random!
  set /a rand=!rand!* 31/32768+1
  set /a rand=!N!+!rand!
  set /a rand=!rand!*31/131+1
)
set server=edge%rand%

:doCapture
set ts=%date:/=-%_%time::=-%
set ts=%ts: =%
set output=%OUT_DIR%\%model%_%ts%.flv
set PASSWORD=%PASSWORD:\u003D==%

color 2F && title %model% @ %time% - %server%
cls && echo Capturing: %model% @ %time% - %server% && echo.

rtmpdump --live --timeout 20 ^
-r "rtmp://%server%.stream.highwebmedia.com/live-edge" ^
-p "http://chaturbate.com/%model%" ^
-C S:%USERNAME% ^
-C S:%model% ^
-C S:%CB_VERSION% ^
-C S:%PASSWORD% ^
-y "playpath" -o %output%

for %%r in (%output%) do (
  if %%~zr lss 1 del %output%
  color 4F && title %model% - OFFLINE
)

set /a rand=%random%*31/32768+1
set server=edge%rand%

timeout %SECONDS%
goto doCapture

@back-to
Copy link
Collaborator

back-to commented Jul 23, 2017

First you are not using https://streamlink.github.io/install.html,
so it's irrelevant to this github project.


Second your script works for me,
I used the username and the password hash from the website (html code)

try it with the login from the website (html code)

AnonymousUser or a useraccount both worked for me

<script type='text/javascript'>
    $(document).ready(function() {
        
            if (HasFlash() && ('False' == '' || 'False' == 'False')) {
    EmbedViewerSwf(
        "/static/flash/CBV_2p670.swf",
        "MODELNAME ....",
        "SERVER     ...stream.highwebmedia.com",
        "/xml/viewer.xml",
        "0",
        "login_required_true_if_loggedin",
        "0",
        "https://ssl-ccstatic.highwebmedia.com/flash/playerProductInstall.swf",
        "YOUR USERNAME", <------------------------------------------------
        "$.mydefchatconn('join_group_show')",
        "$.mydefchatconn('spy_on_private')",
        "registration_required()",
        "123",
        "https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png",
        "",
        "YOUR PASSWORD HASH", <------------------------------------------------
        "ABCABCABCABCABC",
        "123",
        "123",
        "123",
        "{\u0022username\u0022:",
        "123"
    );
}

@gravyboat gravyboat added the NSFW Not safe for work label Jul 23, 2017
@whitetop
Copy link
Author

@back-to i used streamlink but that code is very simple so i never posted it, i just posted the single filed one above, but this is to do with the project as i get the same error while using streamlink.

I'll try the code you posted (i did edit my login out of the code i posted)

@back-to
Copy link
Collaborator

back-to commented Jul 24, 2017

well if you used streamlink, post the error that you get from it

streamlink -l debug https://chaturbate.com/... best

but like i said your script work, streamlink works.


most likely your login is wrong or the channel is geo blocked for you.

The code that i posted is the way to find the login data from the website,
if you inspect the html code in your Browser.

@AshleyUK1984
Copy link

AshleyUK1984 commented Jul 26, 2017

Hi,
I also appear to be having an error with Streamlinks Chaturbate plugin.

Here is a picture of my error.

http://img29.imagetwist.com/i/16728/yze36a9tic78.PNG/chatur.PNG

Any help appreciated.
Thanks

-- EDIT --

I think my issue is different to the one above, so I've opened my own topic.

@whitetop whitetop changed the title chaturbate chaturbate (fixed, please close) Jul 27, 2017
@beardypig
Copy link
Member

@whitetop you should be able to close an issue you created, but I can close it too :)

@whitetop
Copy link
Author

@beardypig I tried too but it would not let me, the fix was i updated the rtmpdump so when i put the 2013 one back (once i found it) all worked.

@johnthecracker
Copy link

johnthecracker commented Jul 29, 2017

Invalid discussion could be moved from this forum to another forum:

If you want to consider more focus on the project and less on rtmp and what else you think less relevant,

I have a suggestion:

Post very visible link and find suitable description to shift some discussion there.

To streamlink from j_cool:

http://stream-recorder.com/forum/streamlink-up-date-fork-livestreamer-t22646.html

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

No branches or pull requests

9 participants