mirror of https://github.com/scrapy/scrapy.git
removed some unused imports
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40949
This commit is contained in:
parent
d8f31f5678
commit
4b0d69cc6d
|
|
@ -1,7 +1,6 @@
|
|||
from pydispatch import dispatcher
|
||||
|
||||
from scrapy.core import signals
|
||||
from scrapy.core.engine import scrapyengine
|
||||
from scrapy.utils.misc import dict_updatedefault
|
||||
|
||||
class CookiesMiddleware(object):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
from scrapy import log
|
||||
from scrapy.core.exceptions import NotConfigured
|
||||
from scrapy.conf import settings
|
||||
|
||||
class CrawlDebug(object):
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
import time
|
||||
import hmac
|
||||
import base64
|
||||
import hashlib
|
||||
import rfc822
|
||||
from cStringIO import StringIO
|
||||
|
|
@ -9,14 +7,13 @@ import Image
|
|||
|
||||
from scrapy import log
|
||||
from scrapy.http import Request
|
||||
from scrapy.stats import stats
|
||||
from scrapy.core.engine import scrapyengine
|
||||
from scrapy.core.exceptions import DropItem, NotConfigured, HttpException
|
||||
from scrapy.core.exceptions import NotConfigured
|
||||
from scrapy.contrib.pipeline.media import MediaPipeline
|
||||
from scrapy.contrib.aws import sign_request
|
||||
from scrapy.conf import settings
|
||||
|
||||
from .images import BaseImagesPipeline, NoimagesDrop, ImageException
|
||||
from .images import BaseImagesPipeline, ImageException
|
||||
|
||||
|
||||
def md5sum(buffer):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
from urlparse import urlunparse
|
||||
|
||||
from twisted.web.client import HTTPClientFactory
|
||||
from twisted.internet import reactor
|
||||
|
||||
from scrapy.http import Url
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ docs/topics/scheduler-middleware.rst
|
|||
from twisted.internet.defer import Deferred
|
||||
|
||||
from scrapy import log
|
||||
from scrapy.http import Request, Response
|
||||
from scrapy.http import Response
|
||||
from scrapy.core.exceptions import NotConfigured
|
||||
from scrapy.utils.misc import load_object
|
||||
from scrapy.utils.defer import mustbe_deferred
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ See documentation in docs/ref/request-response.rst
|
|||
|
||||
import re
|
||||
|
||||
from BeautifulSoup import UnicodeDammit
|
||||
|
||||
from scrapy.http.response.text import TextResponse
|
||||
from scrapy.utils.python import memoizemethod
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ See documentation in docs/ref/request-response.rst
|
|||
|
||||
import re
|
||||
|
||||
from BeautifulSoup import UnicodeDammit
|
||||
|
||||
from scrapy.http.response.text import TextResponse
|
||||
from scrapy.utils.python import memoizemethod
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ Monkey patches
|
|||
These are generally a bad idea.
|
||||
"""
|
||||
import twisted
|
||||
from twisted.web.client import HTTPClientFactory
|
||||
|
||||
|
||||
# Extend limit for BeautifulSoup parsing loops
|
||||
|
|
|
|||
Loading…
Reference in New Issue