Images360
Images360 copied to clipboard
Download Images From 360 Using Scrapy
``` #### 1 def process_item(self, item, spider): name = item.collection self.db[name].insert(dict(item)) return item #### 2 def process_item(self, item, spider): name = item.collection self.db[name].insert_one(dict(item)) return item ``` in MongoPipeline code 1...
I have write the MysqlPipeline following the book, but there is error which says " AttributeError: 'MySQLPipeline' object has no attribute 'db' "
module PIL support Python2 I have to install Pillow instead of PIL in Python3