<div dir="ltr">Check the  <a href="https://browscap.org">https://browscap.org</a> - the csv database, it's the most complete one of the lot. I doubt you'll be able to keep the database up to date yourself. Even if you manage to gather one right now. It will become obsolete very fast.<div><br><div>Also you can't just compare useragents "as is" with the database of useragents, as often useragents have some additional parts added by plugins, minor browser versions or even proxies, so you would need to split  useragent and look up known features of known useragents in the current useragent, just to be able to detect if not all but at least some features. The browscap has such trees of features.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-26 18:14 GMT+03:00 Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think that we need to know device, its vendor, os, major versions.<div><br></div><div>Problem here is that it seems that I will have to fill database myself: we have stb, flash players, smart tv and so on.</div><div><br></div><div><br></div></div>
</blockquote></div><br></div>