I want to make a web application that displays scores after extracting their information from feeds? How should I go about developing it?
-
I am developing for a portal that already exists in Django. I have two options- either scrape the source every time a user opens it (using BeautifulSoup), or save it in the database every minute or so. I could also do some scraping through JavaScript. Please suggest what should be the proper way to do this.
-
Answer:
I think you'll have to save the scores in the database after scraping them from the feeds. You'll have to scrape the scores after some time and update them in the database if they change. If this is the only thing you want to achieve you can use http://www.sqlite.org/ as database and some app that lets you scrape the feeds periodically. A well know app that handles this is http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html.Celery is a bit overkill checkout the links below. This question on stackoverflow gives you some hints on how to do something periodically. http://stackoverflow.com/questions/573618/django-set-up-a-scheduled-job From that list i think https://github.com/tivix/django-cron looks promising but i haven't used this.
Dhiraj Thakur at Quora Visit the source
Related Q & A:
- How to review a web application code?Best solution by Stack Overflow
- How to develop a web application?Best solution by Stack Overflow
- I want to make a video from "Windows Movie Maker.Best solution by Yahoo! Answers
- I want to make a longboard, what type of wood should I make it out of.Best solution by Yahoo! Answers
- I want to make a free slide show.Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.