Remove mobile platform
This commit is contained in:
@@ -9,7 +9,7 @@ class Command(BaseCommand):
|
|||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
parser.add_argument('--platform', type=str, default='all',
|
parser.add_argument('--platform', type=str, default='all',
|
||||||
choices=['jjrb', 'mobile', 'all'],
|
choices=['jjrb', 'mobile', 'all'],
|
||||||
help='选择爬取平台: jjrb(经济日报), mobile(移动端), all(全部)')
|
help='选择爬取平台: jjrb(经济日报), all(全部)')
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
platform = options['platform']
|
platform = options['platform']
|
||||||
|
|||||||
Reference in New Issue
Block a user