Skip to content
Snippets Groups Projects
  1. Apr 12, 2022
  2. Feb 24, 2021
    • Pccode66's avatar
      Completely change project name to yt-dlp (#85) · 7a5c1cfe
      Pccode66 authored
      * All modules and binary names are changed
      * All documentation references changed
      * yt-dlp no longer loads youtube-dlc config files
      * All URLs changed to point to organization account
      
      Co-authored-by: Pccode66
      Co-authored-by: pukkandan
      7a5c1cfe
  3. Sep 02, 2020
  4. Apr 22, 2017
  5. Dec 04, 2016
    • Yen Chi Hsuan's avatar
      [socks] Refine exception model for better error handling · 4bd7d9d4
      Yen Chi Hsuan authored
      1. ProxyError now inherits from socket.error instead of IOError
      
      The only functions socks.py overrides are connect and connect_ex. In
      Python 2.x and Python <= 3.2, socket functions raises socket.error. In
      newer Python versions, those functions raises OSError instead. The name
      socket.error is preserved as an alias of OSError for backward
      compability. To keep socks.py compatible with Python's standard library,
      it should raise the same exception as raw sockets.
      
      See PEP 3151 (https://www.python.org/dev/peps/pep-3151/) for more
      information about the change in Python 3.3.
      
      2. Raise EOFError instead of IOError when the socket receives less data
      than it expects
      
      There's no common convention, but both ftplib and telnetlib raises
      EOFError for similar situations. socks.py follows them.
      
      Closes #11355
      
      In #11355, only Python 2 is affected. In Python 3, both socket.error and
      IOError are alias of OSError, so AbstractHTTPHandler.do_open correctly
      catches the error and thus InfoExtractor._is_valid_url works fine.
      4bd7d9d4
  6. Dec 03, 2016
  7. Nov 17, 2016
  8. Jun 25, 2016
  9. May 10, 2016
Loading