tpayet / falbala

0 stars 0 forks source link

Need constant User-agent to prevent mobile usage #1

Open mde-pach opened 5 years ago

mde-pach commented 5 years ago

In the usage of Falbala, we don't want different render of a same URL because we can run some scraper. This can be cause by different user-agent like Android mobile ones.

The browser will automatically set the user agent of all sent requests to the browser one.

Chrome (and maybe some browsers) doesn't allow modification on the User-Agent header so it has to be done here.

TODO:

tpayet commented 5 years ago

Could you provide a value for this user-agent please ?