Skip to content

Commit

Permalink
Update Periscope_Web_Client.user.js
Browse files Browse the repository at this point in the history
Fix pivate broadcasts
  • Loading branch information
kewalsk committed May 9, 2019
1 parent 037de3e commit 54c66e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Periscope_Web_Client.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,10 @@ function download(name, url, cookies, user_id, user_name, jcontainer) { // cooki
} catch (e) {}
const spawn = require('child_process').spawn((windows ? '' : './') + 'ffmpeg', [
'-loglevel', ($('#debug')[0].checked ? 'debug' : 'warning'),
'-cookies', ff_cookies,
// ==> [kewalsk] Quick fix for privates.
'-headers', 'Cookie: sid='+loginTwitter.cookie+'; User-Agent: Periscope/2699 (iPhone; iOS 8.1.2; Scale/2.00)',
// '-cookies', ff_cookies,
// [kewalsk] <==
'-i', url,
'-c', 'copy',
'-movflags', 'faststart',
Expand Down

0 comments on commit 54c66e8

Please sign in to comment.