import re
from scrapy import Request
_NEWLINE_RE = re.compile('[\r\n]')


class FeedGenerator(object):

    def __init__(self, callback):
        self.callback = callback

    def __call__(self, url):
        return Request(url, callback=self.parse_urls)

    def parse_urls(self, response):
        newline_urls = _NEWLINE_RE.split(response.text)
        urls = [url for url in newline_urls if url]
        for url in urls:
            yield Request(url, callback=self.callback)

059a186ed4bbed55f2459cc6c93a82db28036400
<mask token>


class FeedGenerator(object):
    <mask token>

    def __call__(self, url):
        return Request(url, callback=self.parse_urls)

    def parse_urls(self, response):
        newline_urls = _NEWLINE_RE.split(response.text)
        urls = [url for url in newline_urls if url]
        for url in urls:
            yield Request(url, callback=self.callback)

<mask token>


class FeedGenerator(object):

    def __init__(self, callback):
        self.callback = callback

    def __call__(self, url):
        return Request(url, callback=self.parse_urls)

    def parse_urls(self, response):
        newline_urls = _NEWLINE_RE.split(response.text)
        urls = [url for url in newline_urls if url]
        for url in urls:
            yield Request(url, callback=self.callback)

<mask token>
_NEWLINE_RE = re.compile('[\r\n]')


class FeedGenerator(object):

    def __init__(self, callback):
        self.callback = callback

    def __call__(self, url):
        return Request(url, callback=self.parse_urls)

    def parse_urls(self, response):
        newline_urls = _NEWLINE_RE.split(response.text)
        urls = [url for url in newline_urls if url]
        for url in urls:
            yield Request(url, callback=self.callback)

import re
from scrapy import Request
_NEWLINE_RE = re.compile('[\r\n]')


class FeedGenerator(object):

    def __init__(self, callback):
        self.callback = callback

    def __call__(self, url):
        return Request(url, callback=self.parse_urls)

    def parse_urls(self, response):
        newline_urls = _NEWLINE_RE.split(response.text)
        urls = [url for url in newline_urls if url]
        for url in urls:
            yield Request(url, callback=self.callback)
