Open LightMoon opened 3 years ago
hey @neon-ninja ! Can you please tell me how many times I should call set_user_agent function? Should I set it at the beginning of each function which I wrote? or if I reset it whenever the TemporaryBan happens will do?
I don't think changing user agent is a good idea, as it'll likely cause more problems for you than it'll solve
Hi,
I have an array of different User Agents, I want to reset facebook scrpper User-Agent every time an exception of TemporarilyBanned occurs. I am keen to know if I have it implemented correctly? In other words, I want the User-Agent to remain to what has been changed for the other functions until the next TemporarilyBanned happens.
P.S: I'm new to python and still a lot to learn. You reckon what area I should read up to fully comprehend where my question is coming from. Is it related to python scoping/namespace topics?