Execution Problem

Instead of scraping 1000 books, it is scraping only 640 books, but I do not understand why -_- Sir, can you please help me to figure out this flaw ?

Hey @snehill090, try running this and let me know if your doubt is resolved :

I hope this helps ! :slight_smile:
Happy Learning !

Woohooo! It works…!! But what is wrong with ulrlib request?? Can you please explain? An also why we always yield scrpy.Requets >>why not return?? i tried to return but it raise an error (type_error) it says request object is not iterable -_- after thiking a day :confused: i found this @stackoverflow >> If you change yield to return, it is not an iterable because the for loop is already over when you start your spider.It could be a mess. What it actully mean??

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.