the code that runs the page is shown in the picture, all written by source code. Because the main core class is the company use project, so it is not convenient to put it up, if you have any questions, you can ask me directly. This is a data collection script that I run at the same time, one through the browser and the other in command line mode. But at the same time, the amount of data obtained by the command line is not the same as that obtained by the browser. Even the browser gets twice as much as the command line. But the strange thing is that they are not fixed in this pattern, and the amount obtained by the command line is slightly more than that obtained by the browser.
so I would like to ask, are there any factors that cause this difference between command line running and browser running?