Monday, April 22, 2019

User Agent



whenever browser makes request to a server like google then along with requests it sends additional headers attached with it, so when we make request with bare code (like when using selenium) then such thing is not done so google knows that the request is from code or something like robot. so to prevent it we use a framework like fake_user and import class user_agent that helps in attaching headers

Share:

0 comments:

Post a Comment

Total Pageviews

About

Niranjan Adhikari is currently pursuing Computer Engineering in WRC IOE,Pokhara. Resident of Butwal,Niranjan's interests include Poetry, Design and Programming
Powered by Blogger.