Git Product home page Git Product logo

proyecto-colibri's People

Contributors

andresgutgon avatar edipotrebol avatar escalant3 avatar ewokcillo avatar kikecastillo avatar pablocastellano avatar penyaskito avatar pr3ssh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proyecto-colibri's Issues

Cannot scrape votes

Scrapy shows some errors of this kind when running scrapy crawl votes:

2015-08-08 20:17:55+0200 [votes] ERROR: Spider must return Request, BaseItem or None, got 'Voting' in <GET http://www.congreso.es/votaciones/OpenData?sesion=274&votacion=2&legislatura=10>
2015-08-08 20:17:55+0200 [votes] DEBUG: Crawled (200) <GET http://www.congreso.es/votaciones/OpenData?sesion=274&votacion=1&legislatura=10> (referer: http://www.congreso.es/portal/page/portal/Congreso/Congreso/Actualidad/Votaciones?_piref73_10908194_73_9536063_9536063.next_page=%2Fwc%2FaccesoHistoricoVotaciones&fechaSeleccionada=2015%2F06%2F23)
2015-08-08 20:17:56+0200 [votes] ERROR: Spider must return Request, BaseItem or None, got 'Voting' in <GET http://www.congreso.es/votaciones/OpenData?sesion=274&votacion=1&legislatura=10>
2015-08-08 20:17:56+0200 [votes] DEBUG: Crawled (200) <GET http://www.congreso.es/votaciones/OpenData?sesion=276&votacion=10&legislatura=10> (referer: http://www.congreso.es/portal/page/portal/Congreso/Congreso/Actualidad/Votaciones?_piref73_10908194_73_9536063_9536063.next_page=%2Fwc%2FaccesoHistoricoVotaciones&fechaSeleccionada=2015%2F06%2F25)

Problems executing first crawler: scrapy crawl members

I hope someone can help me. I reinstall all project to prepare an environment for developing a new aggregation functionality and I found this issue.

Traceback (most recent call last):
  File "/home/edipotrebol/env/colibri/bin/scrapy", line 4, in <module>
    execute()
  File "/home/edipotrebol/env/colibri/local/lib/python2.7/site-packages/scrapy/cmdline.py", line 109, in execute
    settings = get_project_settings()
  File "/home/edipotrebol/env/colibri/local/lib/python2.7/site-packages/scrapy/utils/project.py", line 60, in get_project_settings
    settings.setmodule(settings_module_path, priority='project')
  File "/home/edipotrebol/env/colibri/local/lib/python2.7/site-packages/scrapy/settings/__init__.py", line 109, in setmodule
    module = import_module(module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/edipotrebol/dev/proyecto-colibri/scrap/settings.py", line 12, in <module>
    from django.core.management import setup_environ
ImportError: cannot import name setup_environ

Cannot scrape initiatives

Scrapy shows some errors of this kind when running scrapy crawl initiatives:

          File "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 294, in create_transport
            return TCPTransport(host, connect_timeout)
          File "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 95, in __init__
            raise socket.error(last_err)
        socket.error: [Errno 111] Connection refused

2015-08-08 20:20:33+0200 [initiatives] DEBUG: Crawled (200) <GET http://www.congreso.es/portal/page/portal/Congreso/Congreso/Iniciativas/Indice%20de%20Iniciativas?BASE=IW10&CMD=VERLST&DOCORDER=FIFO&DOCS=801-825&FMT=INITXLUS.fmt&OPDEF=Y&QUERY=%28I%29.ACIN1.+%26+%28219%29.SINI.&_piref73_1335503_73_1335500_1335500.next_page=%2Fwc%2FservidorCGI> (referer: http://www.congreso.es/portal/page/portal/Congreso/Congreso/Iniciativas/Indice%20de%20Iniciativas?BASE=IW10&CMD=VERLST&DOCORDER=FIFO&DOCS=751-775&FMT=INITXLUS.fmt&OPDEF=Y&QUERY=%28I%29.ACIN1.+%26+%28219%29.SINI.&_piref73_1335503_73_1335500_1335500.next_page=%2Fwc%2FservidorCGI)

Sort by (optional)

Hi!

It would be awesome if some API calls could be sorted by field (e.g. date).

Example:

# send with params:
# sort=date
http://proyectocolibri.es/api/v1/session/

Generate doc

Install sphinx, genrate documentation and add this to readthedocs.org

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.