Skip to content

Commit

Permalink
Silences deprecation warning about scrapy.spider module.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreyvanwyk committed Jul 2, 2015
1 parent c5a3679 commit 6405894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dirbot/spiders/dmoz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from scrapy.spider import Spider
from scrapy.spiders import Spider
from scrapy.selector import Selector

from dirbot.items import Website
Expand Down

1 comment on commit 6405894

@luoyueshi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My Scrapy version is 0.24
when I use from scrapy.spiders import Spider Is error,
however use 'from scrapy.spider import Spider' is ok

Please sign in to comment.