python - ERROR: Unable to find spider: tutorial -


I have created a project from a piece of command line and I have written a spider file with the tutorial name as follows: Import the scrapy.item from item, field class tutorial into (item): name = "tutorial" permission_domain = ["dmoz.org"] start_urls = ["http: // www. Dmoz.org/Computers / Programming / Languages ​​/ Python / Books / "," http://www.dmoz.org/Computers/Programming/Languages/Python/Resources/ "] DEF Pars (Self, Response): File No = Response.url.split (

But when I run the 'scary crawl tutorial' command this 'error' is displayed: Unable (files name, 'wb'). To find out: Tutorial 'Tell me what is wrong with my code here. Thanks

Tutorials Follow it again, you are mixing an item and a spider definition, in general, the scrappy spiders can be used by spider

  class to tutor Ial should be obtained from the spider (spider) ... ...    

Comments

Popular posts from this blog

Android - Facebook GraphUser has no email attribute -

Opencart and VQMOD issue: Could not load controller in vq2-system_engine_controller.php -

deployment - How to upload Parent child SSIS package to server -