# -*- coding: utf-8 -*-
import scrapy


class HttpbinSpider(scrapy.Spider):
    name = 'httpbin'
    allowed_domains = ['httpbin.org']
    start_urls = ['http://httpbin.org/post']

    def start_requests(self):
        yield scrapy.Request(
            url='http://httpbin.org/post',
            method='POST',
            callback=self.parse_post,
            meta={'download_timeout': 10})

    def parse_post(self, response):
        print(response.status)

    def parse(self, response):
        pass

aafed9009a64782cae6cd470157fc4fc5d56fc94
<mask token>

<mask token>


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

    def start_requests(self):
        yield scrapy.Request(url='http://httpbin.org/post', method='POST',
            callback=self.parse_post, meta={'download_timeout': 10})

    def parse_post(self, response):
        print(response.status)

    def parse(self, response):
        pass

<mask token>


class HttpbinSpider(scrapy.Spider):
    name = 'httpbin'
    allowed_domains = ['httpbin.org']
    start_urls = ['http://httpbin.org/post']

    def start_requests(self):
        yield scrapy.Request(url='http://httpbin.org/post', method='POST',
            callback=self.parse_post, meta={'download_timeout': 10})

    def parse_post(self, response):
        print(response.status)

    def parse(self, response):
        pass

import scrapy


class HttpbinSpider(scrapy.Spider):
    name = 'httpbin'
    allowed_domains = ['httpbin.org']
    start_urls = ['http://httpbin.org/post']

    def start_requests(self):
        yield scrapy.Request(url='http://httpbin.org/post', method='POST',
            callback=self.parse_post, meta={'download_timeout': 10})

    def parse_post(self, response):
        print(response.status)

    def parse(self, response):
        pass

# -*- coding: utf-8 -*-
import scrapy


class HttpbinSpider(scrapy.Spider):
    name = 'httpbin'
    allowed_domains = ['httpbin.org']
    start_urls = ['http://httpbin.org/post']

    def start_requests(self):
        yield scrapy.Request(
            url='http://httpbin.org/post',
            method='POST',
            callback=self.parse_post,
            meta={'download_timeout': 10})

    def parse_post(self, response):
        print(response.status)

    def parse(self, response):
        pass
