make suggestion

This commit is contained in:
Kevin Toms 2024-01-18 09:36:25 -05:00
parent 46f94ec9cb
commit 9074c16497
1 changed files with 2 additions and 5 deletions

View File

@ -414,11 +414,8 @@ How can I make a blank request?
from scrapy import Request
def make_blank_request(your_call_back):
yield Request(
url="data:,",
callback=your_call_back,
)
blank_request = Request("data:,")
In this case, the URL is set to a data URI scheme. Data URLs allow you to include data
in-line in web pages as if they were external resources. The "data:" scheme with an empty