4 ms·
This is great. As a recently new Python and Flask user it's good to see how things are done in a nicer way than I have hacked together! Question: I have a web
by nikon 13y ago
This is great. As a recently new Python and Flask user it's good to see how things are done in a nicer way than I have hacked together!
Question: I have a web app built in flask, but I also require a worker process in the background that is actively scraping websites and inserting/ updating data into the DB via the ORM. How would you go about that in the cleanest way?
- timmipetit 13y agoYou could use Celery: http://www.celeryproject.org/ http://www.celeryproject.org/
- mattupstate 13y agohttp://flask.pocoo.org/docs/patterns/celery/ http://flask.pocoo.org/docs/patterns/celery/