Pmmlabs / OpenPeriscope

Unofficial Periscope client
GNU General Public License v2.0
74 stars 30 forks source link

set auth cookies for live private broadcasts #92

Closed zp closed 7 years ago

zp commented 7 years ago

This PR enables users to record live private broadcasts by passing any cookies the API returns for live broadcasts as well, which is required to get the actual link to the playlist.m3u8 for a private broadcast.

Closes #35 #88

Pmmlabs commented 7 years ago

Thanks! This patch doesn't break public broadcasts downloading, does it?

zp commented 7 years ago

It works fine for both, the download function already checks to see if the cookies exist before formatting them and passing them to ffmpeg, so if none exist (which is usually the case for public broadcast), it doesn't do anything.

Been using the PR for a little over a week now with no problems 👍