Code Link: https://ide.codingblocks.com/s/427201
Why I’m getting only 33% of the total on submission?
While scraping I run : scrapy crawl books_spider -o “books_store.csv”
Code Link: https://ide.codingblocks.com/s/427201
Why I’m getting only 33% of the total on submission?
While scraping I run : scrapy crawl books_spider -o “books_store.csv”
your code is not retrieving the full title of the book.
the titles are having ....
in there ends.
just correct that it will work
After the correction you mentioned above, now it shows a 98% score😔 …
that really good.
The other 2% might be due to media paths.
i suggest you to work with beautiful soup to score 100
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
This url gives 98% accuracy because of the change in the image url
http://books.toscrape.com/catalogue/page-1.html
This is the correct url which gives 100% result
http://books.toscrape.com/
last url gives first 20 image in this format so it achieves 100% accuracy
media/cache/2c/da/2cdad67c44b002e7ead0cc35693c0e8b.jpg
vs
first url gives first 20 image in this format so it achieves 98% accuracy
…/media/cache/2c/da/2cdad67c44b002e7ead0cc35693c0e8b.jpg
I hope this helps you