iam coding a SEMrush.com php API so the problem is that i should walk through uploaded file contain at least 3000 website for the traffic the information needed is like that photo so i just need the organic search the problem is that the search stops before it complete the 3000 websites like in that first photo
I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
thank u so much for ur answer and yes ur right about that its not the code problem its working verywell but after showing the traffic and making between 1100 sites to 1300 it stops for some reason and the code wouldn’t do that right?
That’s it, if code is wrong, you should find by unexpected behaviour, or error, etc… but as you stated it stops working after a while, you should check the error of give nrecord/url you were processing.
Check the url manually(if possible) to make sure the result/output is one as expected, also ask the support about it, maybe they block you becasue of too much serial request(fair, and logical)
Try to log stuffs caused the error, check stuffs at break point, you will find out.
I’m not sure, but maybe this level of work is a little complex for you(or your environment), I suggest you start working with partial data for now (e.g. first 100 records), and as you gain experiences, you would go for more heavy work/load.