Home > Software design >  Trying to import all the pages by web scraping but getting only 4 rows
Trying to import all the pages by web scraping but getting only 4 rows

Time:07-26

I am new to web scraping. I am trying to web scrap a website called enter image description here

So actually I want to show the pages data withing one script. Is there any way to do this or is there any way to solve this issue?

CodePudding user response:

enter image description here

Keep in mind your headers are written everytime you open the file, so its better you open the handle to the file only once and close once you are done processing in the loop.

  • Related