http://www2.assemblee-nationale.fr/deputes/liste/departement/(filtre)/Français établis hors de France - Mouve

level de log mis à 1

Récupération du document http://www2.assemblee-nationale.fr/deputes/liste/departement/(filtre)/Français établis hors de France.

Récupération de l'URL http://www2.assemblee-nationale.fr/deputes/liste/departement/(filtre)/Français établis hors de France...

Traceback (most recent call last):
  File "/homez.476/thbz/prog/mouve/mouve.py", line 1257, in main
    res = get_document(requete, cgi_args)
  File "/homez.476/thbz/prog/mouve/mouve.py", line 998, in get_document
    with urllib.request.urlopen(r) as req:
  File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 455, in open
    response = self._open(req, data)
  File "/usr/lib/python3.4/urllib/request.py", line 473, in _open
    '_open', req)
  File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 1202, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.4/urllib/request.py", line 1174, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.4/http/client.py", line 1142, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1170, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.4/http/client.py", line 1015, in putrequest
    "(found at least {!r})".format(url, match.group()))
http.client.InvalidURL: URL can't contain control characters. '/deputes/liste/departement/(filtre)/Français établis hors de France' (found at least ' ')

Raccourcis

Commandes

Fermer