# -*- coding: utf-8 -*-
import scrapy
from pyeng.items import PyengItem

class Pyeng1Spider(scrapy.Spider):
    name = "pyeng_1"
    allowed_domains = ["pythonforengineers.com"]
    start_urls = (
        'http://pythonforengineers.com/pythonforengineersbook/',
    )

    def parse(self, response):
        #print "\n Page title: ", response.xpath('//title').extract(), "\n"
        
        for sel in response.xpath("//p"):
            item = PyengItem()
            item['text'] =  sel.xpath('text()').extract()
            #print item['text']
            yield item        
782ef2dafaed9e55cfb58c0520dd7563c7f5889b
<mask token>


class Pyeng1Spider(scrapy.Spider):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Pyeng1Spider(scrapy.Spider):
    <mask token>
    <mask token>
    <mask token>

    def parse(self, response):
        for sel in response.xpath('//p'):
            item = PyengItem()
            item['text'] = sel.xpath('text()').extract()
            yield item

<mask token>


class Pyeng1Spider(scrapy.Spider):
    name = 'pyeng_1'
    allowed_domains = ['pythonforengineers.com']
    start_urls = 'http://pythonforengineers.com/pythonforengineersbook/',

    def parse(self, response):
        for sel in response.xpath('//p'):
            item = PyengItem()
            item['text'] = sel.xpath('text()').extract()
            yield item

import scrapy
from pyeng.items import PyengItem


class Pyeng1Spider(scrapy.Spider):
    name = 'pyeng_1'
    allowed_domains = ['pythonforengineers.com']
    start_urls = 'http://pythonforengineers.com/pythonforengineersbook/',

    def parse(self, response):
        for sel in response.xpath('//p'):
            item = PyengItem()
            item['text'] = sel.xpath('text()').extract()
            yield item

# -*- coding: utf-8 -*-
import scrapy
from pyeng.items import PyengItem

class Pyeng1Spider(scrapy.Spider):
    name = "pyeng_1"
    allowed_domains = ["pythonforengineers.com"]
    start_urls = (
        'http://pythonforengineers.com/pythonforengineersbook/',
    )

    def parse(self, response):
        #print "\n Page title: ", response.xpath('//title').extract(), "\n"
        
        for sel in response.xpath("//p"):
            item = PyengItem()
            item['text'] =  sel.xpath('text()').extract()
            #print item['text']
            yield item        