deploy test

This commit is contained in:
2025-08-17 02:12:25 +08:00
parent 4945b4c6b0
commit 193894fcb4
20 changed files with 413 additions and 56 deletions

View File

@@ -4,11 +4,11 @@ from core.utils import full_site_crawler
class Command(BaseCommand):
help = "全站递归爬取 中国日报及其子网站、客户端、新媒体平台"
help = "全站递归爬取 中国日报平台"
def add_arguments(self, parser):
parser.add_argument('--platform', type=str, default='all',
choices=['chinadaily', 'mobile', 'all'],
choices=['chinadaily','all'],
help='选择爬取平台: chinadaily(中国日报), all(全部)')
def handle(self, *args, **options):