Skip to content

Commit

Permalink
changed default depth to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpdev committed Apr 24, 2022
1 parent b0f5503 commit 56c9098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy/commands/parse.py
Expand Up @@ -51,7 +51,7 @@ def add_options(self, parser):
parser.add_argument("--cbkwargs", dest="cbkwargs",
help="inject extra callback kwargs into the Request, it must be a valid raw json string")
parser.add_argument("-d", "--depth", dest="depth", type=int, default=1,
help=f"maximum depth for parsing requests [default: {self.max_level}]")
help="maximum depth for parsing requests [default: 1]")
parser.add_argument("-v", "--verbose", dest="verbose", action="store_true",
help="print each depth level one by one")

Expand Down

0 comments on commit 56c9098

Please sign in to comment.