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

[vine] some vines unable to be downloaded (HTTP 403) #17883

Open
xavdid opened this issue Oct 14, 2018 · 2 comments
Open

[vine] some vines unable to be downloaded (HTTP 403) #17883

xavdid opened this issue Oct 14, 2018 · 2 comments

Comments

@xavdid
Copy link

@xavdid xavdid commented Oct 14, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.10.05

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

% youtube-dl --version
2018.10.05
% youtube-dl https://vine.co/u/923740547368235008 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://vine.co/u/923740547368235008', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.15 (CPython) - Darwin-18.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[vine:user] 923740547368235008: Downloading user profile data
[vine:user] 923740547368235008: Downloading JSON metadata
[download] Downloading playlist: David Brownman
[vine:user] playlist David Brownman: Collected 72 video ids (downloading 72 of them)
[download] Downloading video 1 of 72
[Vine] 5QTWuphYH5T: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'http://mtc.cdn.vine.co/r/videos_dashhd/DC60B6BDEE1421076030478807040_51bf0322010.41.0.A36D1782-0A2B-4E1F-9248-200AE936ADDA.mp4?versionId=fLjYNwSOJBpL1BXSJm_6fVl2U4JtOLVL'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1908, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 341, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 109, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Description of your issue, suggested solution and other information

Looks like vines are unable to be downloaded anymore. Seems like the user info is being fetched correctly, but some individual videos are seeing the error. If it helps, here are some urls:

  • individual video page: https://vine.co/v/5QTWuphYH5T
  • looks like the above video lives at: blob:https://vine.co/28f52153-5eae-4ad9-bd4e-60629b002777
  • older vines download without error (for instance, https://vine.co/v/hrBdTl0wmPu)

Thanks a bunch!

@redsummernight
Copy link

@redsummernight redsummernight commented Dec 15, 2018

HD URLs seem to be broken. In my case, as a workaround I download the standard format instead:

youtube-dl -v -f standard https://vine.co/v/5QTWuphYH5T
@smammy
Copy link

@smammy smammy commented Jul 4, 2019

Can confirm that this is still the case with 2019.06.08 and that @redsummernight's -f standard workaround still works.

@harrego harrego mentioned this issue Aug 13, 2019
5 of 9 tasks complete
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.