View Single Post
  #12  
Old 01-22-2017, 09:52 PM
wrapped_it_up_and_sent_it wrapped_it_up_and_sent_it is offline
Junior Member
 
Join Date: Jan 2017
Posts: 2
wrapped_it_up_and_sent_it is on a distinguished road
Default

Re: Chaturbate Sample Rtmpdump


Quote:
Originally Posted by rykorb View Post
Details on how to fix livestreamer can be found here:

https://github.com/chrippa/livestreamer/issues/1569

This thread also make mention of streamlink, a fork of livestreamer, which is still being updated.
Thanks for highlighting this, managed to fix capturebate on my Raspberry Pi with this.

In case there's anyone out there looking for specific steps to fix their own livestreamer-based capturebate setup on Raspi (and likely anything Linux), then you simply need to:

Code:
cd /usr/lib/python2.7/dist-packages/livestreamer/plugins
Code:
sudo nano chaturbate.py
Then replace

Quote:
_playlist_url_re = re.compile("html \+= \"src='(?P<url>[^']+)'\";")
with
Quote:
_playlist_url_re = re.compile("loadHlsVideo\('(?P<url>[^']+)")
Hit Ctrl+X, press y, and enter. This will save the file. It should now work. The inital directory might be different depending on your python version.
Reply With Quote