I need a clarification about mechanise.browser().addheaders = [('user-agent','Firefox'] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need a clarification about mechanise.browser().addheaders = [('user-agent','Firefox']

what does this line actually do to the browser...? some one explain me https://code.sololearn.com/cwY6nGqDcRu3/?ref=app

25th May 2018, 8:30 AM
Pauly😊💖
Pauly😊💖 - avatar
1 Answer
+ 1
From what it looks like: Method/variable mechanise, use browser. addheaders method directed to the USER agent using FIREFOX browser. A change has occurred with the headers
25th May 2018, 10:18 AM
Apple Blossom
Apple Blossom - avatar