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
c2ac62fe
Commit
c2ac62fe
authored
Oct 10, 2017
by
Andrii Marynets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spider for nanalyze
parent
c4dc009a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
nana.py
exa/exa/spiders/nana.py
+18
-0
No files found.
exa/exa/spiders/nana.py
0 → 100644
View file @
c2ac62fe
# -*- coding: utf-8 -*-
import
scrapy
from
.base
import
BaseSpider
class
NanaSpider
(
BaseSpider
):
name
=
"nana"
allowed_domains
=
[
"nanalyze.com"
]
def
start_requests
(
self
):
for
i
in
self
.
companies
(
self
.
name
):
try
:
yield
scrapy
.
Request
(
i
.
url
,
callback
=
self
.
parse
,
meta
=
{
'company'
:
i
,
'post_id'
:
0
})
except
:
pass
def
parse
(
self
,
response
):
pass
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