mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-08-03 01:33:15 +08:00
Update webdriver utility functions and add a sample celery task for scraping Google search
This commit is contained in:
parent
0e902b1f04
commit
9e2e32fba8
11 changed files with 193 additions and 25 deletions
7
backend/search_results/models.py
Normal file
7
backend/search_results/models.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from django.db import models
|
||||
|
||||
|
||||
class SearchResult(models.Model):
|
||||
title = models.CharField(max_length=1000)
|
||||
link = models.CharField(max_length=1000)
|
||||
timestamp = models.DateTimeField(auto_now_add=True, editable=False)
|
Loading…
Add table
Add a link
Reference in a new issue