Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Periscope: Unable to download JSON metadata #7359
Comments
|
Post an example URL. |
As I said, any URL is failing :( |
|
As stated in bug reporting guide you must provide concrete example URL. We are not going to find one ourselves. |
|
I apologize. Here you are a recent replay URL: Should the URL expire before you read this message, you can just go to http://onperiscope.com/ and click on any profile with the red "Off air" tag in the upper-right corner, and you'll get a recent replay URL to test. |
|
Videos with broascast_id will be supported in the next version. Note that token based URLs (e.g. https://www.periscope.tv/w/aQpiwDFkdkVPek5tRHBqWGV8MURYeHl3RE9ZQVBHTQ7G3W74JLXGS1ZLXePe8YZXl7q3TF5B9kTy1Bkp2w3-) still work as before. |
|
Thanks! Anyway I applied your patch and now I get a different error: "HTTP error 403 Forbidden", I tried with both kind of URLs. Here is the output, using the URL you provided in your last message (still works fine when viewed from the browser) [debug] System config: [] ERROR: ffmpeg exited with code 1 |
|
Ok, I confirm that current version (2015.11.13) works as expected, thanks! |
I can't download any videos from periscope; here is the output.
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.periscope.tv/w/XXXXXXXXXXXX']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.02
[debug] Python version 2.7.6 - Linux-3.2.0-3-686-pae-i686-with-debian-wheezy-sid
[debug] exe versions: ffmpeg 1.2.4, ffprobe 1.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[Periscope] XXXXXXXXXXXX: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 400: Bad Request (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 "/home/XXX/bin/youtube-dl/youtube_dl/extractor/common.py", line 329, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/home/XXX/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1873, 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)