Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ScrapyTutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton Gusev
ScrapyTutorial
Commits
5da0f5d5
Commit
5da0f5d5
authored
5 years ago
by
Anton Gusev
Browse files
Options
Downloads
Patches
Plain Diff
Develop
parent
4559eb3d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Pipfile.lock
+0
-20
0 additions, 20 deletions
Pipfile.lock
README.md
+1
-1
1 addition, 1 deletion
README.md
requirments.txt
+37
-0
37 additions, 0 deletions
requirments.txt
src/Pipfile
+20
-0
20 additions, 0 deletions
src/Pipfile
src/Pipfile.lock
+433
-0
433 additions, 0 deletions
src/Pipfile.lock
with
491 additions
and
21 deletions
Pipfile.lock
deleted
100644 → 0
+
0
−
20
View file @
4559eb3d
{
"_meta"
:
{
"hash"
:
{
"sha256"
:
"7e7ef69da7248742e869378f8421880cf8f0017f96d94d086813baa518a65489"
},
"pipfile-spec"
:
6
,
"requires"
:
{
"python_version"
:
"3.7"
},
"sources"
:
[
{
"name"
:
"pypi"
,
"url"
:
"https://pypi.org/simple"
,
"verify_ssl"
:
true
}
]
},
"default"
:
{},
"develop"
:
{}
}
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
5da0f5d5
1.
Rename .env.example to .env and set your settings
2.
Rename alembic.ini.example to alembic.ini and set sqlalchemy.url field
3.
Install dependencies from
requirments.txt
file
3.
Install dependencies from
pip
file
4.
Create tables for database using sql
\c
reate-dump.sql or apply migration using the command "alembic upgrade head" in src directory
5.
In src directory use "scrapy crawl books" command for start parsing.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
requirments.txt
0 → 100644
+
37
−
0
View file @
5da0f5d5
alembic==1.0.10
asn1crypto==0.24.0
attrs==19.1.0
Automat==0.7.0
cffi==1.12.3
constantly==15.1.0
cryptography==2.7
cssselect==1.0.3
hyperlink==19.0.0
idna==2.8
incremental==17.5.0
lxml==4.3.4
Mako==1.0.12
MarkupSafe==1.1.1
mysqlclient==1.3.12
parsel==1.5.1
Pillow==6.0.0
pyasn1==0.4.5
pyasn1-modules==0.2.5
pycparser==2.19
PyDispatcher==2.0.5
PyHamcrest==1.9.0
PyMySQL==0.9.3
pyOpenSSL==19.0.0
pypiwin32==223
python-dateutil==2.8.0
python-dotenv==0.10.3
python-editor==1.0.4
pywin32==224
queuelib==1.5.0
Scrapy==1.6.0
service-identity==18.1.0
six==1.12.0
SQLAlchemy==1.3.4
Twisted==19.2.1
w3lib==1.20.0
zope.interface==4.6.0
This diff is collapsed.
Click to expand it.
Pipfile
→
src/
Pipfile
+
20
−
0
View file @
5da0f5d5
...
...
@@ -6,6 +6,15 @@ verify_ssl = true
[dev-packages]
[packages]
scrapy
=
"*"
alembic
=
"*"
pillow
=
"*"
pypiwin32
=
"*"
mysqlclient
=
"=
=
1.3
.
12
"
pymysql
=
"*"
pywin32
=
"*"
sqlalchemy
=
"*"
python-dotenv
=
"*"
[requires]
python_version
=
"3.7"
This diff is collapsed.
Click to expand it.
src/Pipfile.lock
0 → 100644
+
433
−
0
View file @
5da0f5d5
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment