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

periscope #6459

Closed
haokah opened this issue Aug 4, 2015 · 5 comments
Closed

periscope #6459

haokah opened this issue Aug 4, 2015 · 5 comments

Comments

@haokah
Copy link

@haokah haokah commented Aug 4, 2015

I'm hoping you can add periscope support. It needs cookies and then the files are in multiple chunks with a playlist file.

From this url: https://replay.periscope.tv/Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==

Video is split in multiple chunks like:

https://replay.periscope.tv/Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==/chunk_15.ts

with a playlist:
https://replay.periscope.tv/Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==/playlist.m3u8

Here's verbose output:

youtube-dl --verbose https://replay.periscope.tv/Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://replay.periscope.tv/Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.28
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-i686-athlon-with-LinuxMint-17.1-rebecca
[debug] exe versions: none
[debug] Proxy map: {}
[generic] Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==: Requesting header
WARNING: Could not send HEAD request to https://replay.periscope.tv/Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==: HTTP Error 403: Forbidden
[generic] Aa5MyH8SfnTxKoxidSvCUrx8TvIY3_C5_WcPg41q97ibd9ySRGjZG3kIZUjsSW9jkJO87UgqCY0PL1QMCpadsQ==: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 318, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1732, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Aug 4, 2015

all the urls give this error in the browser (Missing Key-Pair-Id query parameter or cookie value):

<?xml version="1.0" encoding="UTF-8"?><Error><Code>MissingKey</Code><Message>Missing Key-Pair-Id query parameter or cookie value</Message></Error>
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 7, 2015

Post a working example URL.

@haokah
Copy link
Author

@haokah haokah commented Aug 7, 2015

The URL's only live a maximum of 24 hours by design. They worked when I posted them, I could view the video and it was the url from the app that I could use the share option through email, then view again.
Here's a new one that is 30 minutes old. https://www.periscope.tv/w/aJUQnjY3MjA3ODF8NTYxMDIyMDl2zCg2pECBgwTqRpQuQD352EMPTKQjT4uqlM3cgWFA-g==

image

@dstftw dstftw closed this in 3550821 Aug 7, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 7, 2015

Periscope will be supported in the next version.

@haokah
Copy link
Author

@haokah haokah commented Aug 8, 2015

That is awesome news! Thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.