Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Kyryll Parolis
buildzoom_parser
Commits
1372638f
Commit
1372638f
authored
Jun 16, 2020
by
Kyryll Parolis
Browse files
Added running from the script feature.
parent
d223fec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/crawl.py
src/crawl.py
+7
-0
No files found.
src/crawl.py
0 → 100644
View file @
1372638f
from
scrapy.crawler
import
CrawlerProcess
from
scrapy.utils.project
import
get_project_settings
process
=
CrawlerProcess
(
get_project_settings
())
process
.
crawl
(
'sitemap'
)
process
.
start
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment