Skip to content Skip to sidebar Skip to footer

Crawling Linkedin While Authenticated With Scrapy

So I've read through the Crawling with an authenticated session in Scrapy and I am getting hung up, I am 99% sure that my parse code is correct, I just don't believe the login is r

Solution 1:

class LinkedPySpider(BaseSpider):

should be:

class LinkedPySpider(InitSpider):

Also you shouldn't override the parse function as I mentioned in my answer here: https://stackoverflow.com/a/5857202/crawling-with-an-authenticated-session-in-scrapy

If you don't understand how to define the rules for extracting links, just have a proper read through the documentation: http://readthedocs.org/docs/scrapy/en/latest/topics/spiders.html#scrapy.contrib.spiders.Rulehttp://readthedocs.org/docs/scrapy/en/latest/topics/link-extractors.html#topics-link-extractors

Post a Comment for "Crawling Linkedin While Authenticated With Scrapy"