Can't you set defaults for the arguments in your spider initialization code?

> On May 5, 2016, at 10:39 AM, dnl 31337 <[email protected]> wrote:
> 
> Hi all..
> 
> there is any way to pass arguments on command line (-a) but as optional?? 
> Exemple:
> 
> If i run: 
> $ scrapy crawl myspider 
> 
> will work as the same way if I run:
> $ scrapy crawl myspider -a test=123 -a secondtest=123
> 
> 
> 
> Thanks..
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to