[MacPorts] #60501: Unable to download webpage:

MacPorts noreply at macports.org
Sat May 16 15:43:02 UTC 2020


#60501: Unable to download webpage:
-------------------------+--------------------
  Reporter:  jpmelko     |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  youtube-dl  |
-------------------------+--------------------

Comment (by jpmelko):

 forgot --verbose
 {{{
 titi at Bacchus Downloads % cd /Users/titi/Downloads ; /opt/local/bin
 /youtube-dl --ignore-config --no-playlist --quiet  --socket-timeout 180
 --output '%(title)s-%(id)s-22-1280x720.%(ext)s' --format 22
 'https://www.youtube.com/watch?v=HF9GwOptEDU' --verbose
 [debug] System config: []
 [debug] User config: []
 [debug] Custom config: []
 [debug] Command-line args: ['--ignore-config', '--no-playlist', '--quiet',
 '--socket-timeout', '180', '--output',
 '%(title)s-%(id)s-22-1280x720.%(ext)s', '--format', '22',
 'https://www.youtube.com/watch?v=HF9GwOptEDU', '--verbose']
 [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
 [debug] youtube-dl version 2020.05.08
 [debug] Python version 3.8.3 (CPython) - macOS-10.15.4-x86_64-i386-64bit
 [debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
 [debug] Proxy map: {}
 ERROR: Unable to download webpage: <urlopen error [Errno 64] Host is down>
 (caused by URLError(OSError(64, 'Host is down')))
   File "/opt/local/bin/youtube-dl/youtube_dl/extractor/common.py", line
 627, in _request_webpage
     return self._downloader.urlopen(url_or_request)
   File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in
 urlopen
     return self._opener.open(req, timeout=self._socket_timeout)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
 line 525, in open
     response = self._open(req, data)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
 line 542, in _open
     result = self._call_chain(self.handle_open, protocol, protocol +
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
 line 502, in _call_chain
     result = func(*args)
   File "/opt/local/bin/youtube-dl/youtube_dl/utils.py", line 2728, in
 https_open
     return self.do_open(functools.partial(
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
 line 1353, in do_open
     raise URLError(err)

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60501#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list