server/sources/datafeed.py
changeset 10611 f4dec0cca9a1
parent 10610 d53b9c157f99
child 10662 10942ed172de
equal deleted inserted replaced
10610:d53b9c157f99 10611:f4dec0cca9a1
    20 """
    20 """
    21 
    21 
    22 import StringIO
    22 import StringIO
    23 from os.path import exists
    23 from os.path import exists
    24 from datetime import datetime, timedelta
    24 from datetime import datetime, timedelta
    25 from cookielib import CookieJar
       
    26 
    25 
    27 from six.moves.urllib.parse import urlparse
    26 from six.moves.urllib.parse import urlparse
    28 from six.moves.urllib.request import Request, build_opener, HTTPCookieProcessor
    27 from six.moves.urllib.request import Request, build_opener, HTTPCookieProcessor
    29 from six.moves.urllib.error import HTTPError
    28 from six.moves.urllib.error import HTTPError
       
    29 from six.moves.http_cookiejar import CookieJar
    30 
    30 
    31 from lxml import etree
    31 from lxml import etree
    32 
    32 
    33 from cubicweb import RegistryNotFound, ObjectNotFound, ValidationError, UnknownEid
    33 from cubicweb import RegistryNotFound, ObjectNotFound, ValidationError, UnknownEid
    34 from cubicweb.server.repository import preprocess_inlined_relations
    34 from cubicweb.server.repository import preprocess_inlined_relations