requests can be easily set:
requests.get (url, headers=Header, params=Param)
but scrapy"s Request:
class Request(object_ref):
def __init__(self, url, callback=None, method="GET", headers=None, body=None,
cookies=None, meta=None, encoding="utf-8", priority=0,
dont_filter=False, errback=None, flags=None):
emmmm, does not seem to provide similar parameter settings. Can I only construct a full path url directly?
for example, you can only directly url = www.abc.com?now=2018-5-28-20-00-00?
am I missing something?
there is another question I would like to ask. Take the above url as an example, I want to set the time parameter of that now only when it is actually running,
instead of plugging this request into the scheduler. Does
use the middleware in scheduler- > request-> download to OK? Configure parameters through middleware when the url is actually requested
Ball pointing