Advertisement
lamiastella

Spider

Mar 1st, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. mona@pascal:~/computer_vision/instagram/instagram$ python
  2. Python 2.7.6 (default, Oct 26 2016, 20:30:19)
  3. [GCC 4.8.4] on linux2
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> import scrapy
  6. >>> print(dir(scrapy))
  7. ['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '__version__', 'boto', 'optional_features', 'os', 'sys', 'twisted_250_monkeypatches', 'urlparse_monkeypatches', 'version_info', 'warnings', 'xlib']
  8. >>> scrapy.spider.Spider
  9. Traceback (most recent call last):
  10. File "<stdin>", line 1, in <module>
  11. AttributeError: 'module' object has no attribute 'spider'
  12. >>> scrapy.scrapy.Spider
  13. Traceback (most recent call last):
  14. File "<stdin>", line 1, in <module>
  15. AttributeError: 'module' object has no attribute 'scrapy'
  16. >>> scrapy.spider.BaseSpider
  17. Traceback (most recent call last):
  18. File "<stdin>", line 1, in <module>
  19. AttributeError: 'module' object has no attribute 'spider'
  20. >>> scrapy.spider
  21. Traceback (most recent call last):
  22. File "<stdin>", line 1, in <module>
  23. AttributeError: 'module' object has no attribute 'spider'
  24. >>> scrapy.Spider
  25. Traceback (most recent call last):
  26. File "<stdin>", line 1, in <module>
  27. AttributeError: 'module' object has no attribute 'Spider'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement