You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,22 @@ pip install os-scrapy
23
23
24
24
### Command line
25
25
26
+
The command is same as scrapy
27
+
26
28
```
27
-
os-scrapy
29
+
os-scrapy -h
28
30
```
29
31
32
+
### CRAWLER_CLASS
33
+
34
+
os-scrapy support config ``CRAWLER_CLASS`` replace the default ``scrapy.crawler.Crawler``. It can be configured in ``settings.py`` file or ``os-scrapy crawl -c <your_crawler_class> <spider_name>``
35
+
36
+
37
+
## Enhanced ``startproject``
38
+
39
+
Thanks to [os-scrapy-cookiecutter](https://github.com/cfhamlet/os-scrapy-cookiecutter) a ``-p`` option can be used ``os-scrapy startproject -p <project_name>``, which indicate create project as well as python package.
0 commit comments