fix bugs and support all platform
This commit is contained in:
@@ -8,7 +8,7 @@ class Command(BaseCommand):
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--platform', type=str, default='all',
|
||||
choices=['nmrb', 'mobile', 'all'],
|
||||
choices=['nmrb', 'all'],
|
||||
help='选择爬取平台: nmrb(农民日报), all(全部)')
|
||||
|
||||
def handle(self, *args, **options):
|
||||
|
||||
Reference in New Issue
Block a user