Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: SPOJ #90

Open
3 tasks
ShivamSinghal1 opened this issue Nov 2, 2021 · 2 comments
Open
3 tasks

refactor: SPOJ #90

ShivamSinghal1 opened this issue Nov 2, 2021 · 2 comments
Assignees
Labels
refactor Needed to refactor the code but the meaning would same.

Comments

@ShivamSinghal1
Copy link
Member

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.
@ShivamSinghal1 ShivamSinghal1 added the refactor Needed to refactor the code but the meaning would same. label Nov 2, 2021
@aaradhyaberi07
Copy link
Member

/cib

@github-actions
Copy link

Branch refactor/aaradhyaberi07/issue-90/refactor-spoj created!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Needed to refactor the code but the meaning would same.
Projects
None yet
Development

No branches or pull requests

2 participants