Skip to content

refactor: SPOJ  #90

Description

@ShivamSinghal1

Refactoring SPOJ related code.

  • Refactor all scrapers and paste them into the scraper.py file.
  • Refactor all scheduled functions and paste them into the cron.py file.
  • Refactor list updater for SPOJ and move it into the SPOJ app.

Some points -

  1. scraper.py file must contain code to scrap the SPOJ website and get the content from it.
  2. Divide code for update and save the database in other files e.g. model_utils in Codeforces app.
  3. cron.py must contain all the functions that we want to schedule.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

refactorNeeded to refactor the code but the meaning would same.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions