Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esi-table-data
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esi-data-scrapping
esi-table-data
Commits
a3a60296
Commit
a3a60296
authored
Aug 14, 2017
by
Vasyl Bodnaruk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete print from CB
parent
6bd01156
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
views.py
esi/scraper/views.py
+1
-1
cb.py
exa/exa/spiders/cb.py
+0
-1
No files found.
esi/scraper/views.py
View file @
a3a60296
from
django.shortcuts
import
render
,
HttpResponseRedirect
,
reverse
,
HttpResponse
from
django.shortcuts
import
render
,
HttpResponseRedirect
,
reverse
,
HttpResponse
from
django.http
import
JsonResponse
,
FileResponse
from
django.http
import
JsonResponse
,
FileResponse
from
django.views.generic
import
ListView
,
CreateView
,
UpdateView
from
django.views.generic
import
ListView
,
CreateView
,
UpdateView
,
TemplateView
from
django.contrib.auth.decorators
import
login_required
from
django.contrib.auth.decorators
import
login_required
from
django.utils.decorators
import
method_decorator
from
django.utils.decorators
import
method_decorator
...
...
exa/exa/spiders/cb.py
View file @
a3a60296
...
@@ -40,7 +40,6 @@ class CbSpider(BaseSpider):
...
@@ -40,7 +40,6 @@ class CbSpider(BaseSpider):
item
[
'description'
]
=
None
item
[
'description'
]
=
None
item
[
'post_id'
]
=
response
.
meta
[
'post_id'
]
item
[
'post_id'
]
=
response
.
meta
[
'post_id'
]
item
[
'tags'
]
=
None
item
[
'tags'
]
=
None
print
(
item
)
self
.
co
+=
1
self
.
co
+=
1
print
(
self
.
co
)
print
(
self
.
co
)
...
...
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