'Couldn't change Indeed url while scraping with R

i'm new to programming!

I use R for data mining, i'm scraping Indeed and my code works good until I change the URL, it gives me this error :

Error in names(x) <- value : 
  'names' attribute [5] must be the same length as the vector [1]

But if I wait a few minutes the code with new URL works again!!!!

Do you know what the problem is?

thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source