ValdikSS / blockcheck

Russian ISP blocking type checker NOTE: NOT WORKING CURRENTLY. ВНИМАНИЕ: НЕ РАБОТАЕТ НА ТЕКУЩИЙ МОМЕНТ
MIT License
1.37k stars 143 forks source link

* urlopen() arguments #23

Closed Ulv closed 9 years ago

Ulv commented 9 years ago

Выпадал на этом шаге, debian:

  [O] Тестируем HTTP
          Открываем  http://sukebei.nyaa.se/
  Traceback (most recent call last):
    File "./blockcheck.py", line 332, in <module>
      main()
    File "./blockcheck.py", line 277, in main
      http = test_http_access(True)
    File "./blockcheck.py", line 210, in test_http_access
      result = _get_url(site, ip=sites[site].get('ip') if by_ip else None)
    File "./blockcheck.py", line 132, in _get_url
      opened = urllib.request.urlopen(req, timeout=15, cadefault=True)
  TypeError: urlopen() got an unexpected keyword argument 'cadefault'
ValdikSS commented 9 years ago

Установите Python 3.3 и новее.