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 videos not downloading with latest version #14732

Closed
ditpara opened this issue Nov 12, 2017 · 4 comments
Closed

Periscope videos not downloading with latest version #14732

ditpara opened this issue Nov 12, 2017 · 4 comments
Labels

Comments

@ditpara
Copy link

@ditpara ditpara commented Nov 12, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.11.06
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Bug report (encountered problems with youtube-dl)

youtube-dl -f mp4 https://www.periscope.tv/aarondgood/1eaJbqBqyQBGX -J -v --dump-pages --print-traffic
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'mp4', u'https://www.periscope.tv/aarondgood/1eaJbqBqyQBGX', u'-J', u'-v', u'--dump-pages', u'--print-traffic']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.06
[debug] Python version 2.7.10 - Darwin-17.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.2, ffprobe 2.8.2, phantomjs 2.0.0, rtmpdump 2.4
[debug] Proxy map: {}
send: u'GET /api/v2/getBroadcastPublic?broadcast_id=1eaJbqBqyQBGX HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: api.periscope.tv\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: max-age=0, s-max-age=0, no-cache, no-store, private
header: Content-Encoding: gzip
header: Content-Type: application/json
header: Date: Sun, 12 Nov 2017 11:45:29 GMT
header: Expires: Sun, 12 Nov 2017 11:45:29 GMT
header: Last-Modified: Sun, 12 Nov 2017 11:45:29 GMT
header: Pragma: no-cache
header: Set-Cookie: user_id=W-ln2TQ3OWY1OGNmLWNhYzctNGMwYy01ODgzLWExY2Y0YTBjOTY4NOrULwyFOo0j4oleXle1v-LPqNyILvfs2bu_UN-qqSCl; Path=/; Expires=Mon, 12 Nov 2018 11:45:29 GMT
header: Strict-Transport-Security: max-age=31536000; preload
header: Vary: Accept-Encoding
header: Content-Length: 1542
header: Connection: Close
send: u'GET /api/v2/getAccessPublic?broadcast_id=1eaJbqBqyQBGX HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: api.periscope.tv\r\nCookie: user_id=W-ln2TQ3OWY1OGNmLWNhYzctNGMwYy01ODgzLWExY2Y0YTBjOTY4NOrULwyFOo0j4oleXle1v-LPqNyILvfs2bu_UN-qqSCl\r\n\r\n'
reply: 'HTTP/1.1 404 Not Found\r\n'
header: Cache-Control: max-age=0, s-max-age=0, no-cache, no-store, private
header: Content-Encoding: gzip
header: Content-Type: application/json
header: Date: Sun, 12 Nov 2017 11:45:30 GMT
header: Expires: Sun, 12 Nov 2017 11:45:30 GMT
header: Last-Modified: Sun, 12 Nov 2017 11:45:30 GMT
header: Pragma: no-cache
header: Strict-Transport-Security: max-age=31536000; preload
header: Vary: Accept-Encoding
header: Content-Length: 60
header: Connection: Close
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (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 506, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2195, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
<end of log>

Specific video (as above) which plays fine in the browser, won't download through youtube-dl. There are emojis in the video name, perhaps this is the issue?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 12, 2017

Does not play in browser.

@ditpara
Copy link
Author

@ditpara ditpara commented Nov 12, 2017

It does on mine. And on a private window (not authenticated): https://www.periscope.tv/aarondgood/1eaJbqBqyQBGX

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 12, 2017

Prove.

@ditpara
Copy link
Author

@ditpara ditpara commented Nov 12, 2017

Sorry, you're right, but it really did, until about 20-30 minutes ago.

@dstftw dstftw closed this Nov 12, 2017
@dstftw dstftw added the invalid label Nov 12, 2017
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
2 participants
You can’t perform that action at this time.