python-user-agents icon indicating copy to clipboard operation
python-user-agents copied to clipboard

Samsung phones shown as tablets (SGH-I527 & SPH-L600

Open drlatech opened this issue 8 years ago • 3 comments

There are also 2 more models which are shown as tablets.

Samsung-SGH-I527, with this user agent Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; SAMSUNG-SGH-I527 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 FB_IAB/FB4A;FBAV/104.0.0.17.71;

Samsung-SPH-L600 Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; SPH-L600 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 FB_IAB/FB4A;FBAV/85.0.0.15.70;

I debugged function parse in parsers, the problem is that there is no 'Mobile' in user agent, before Safari, so this automatically becomes tablet. I thought that this could be related with screen size and resolution. They are 6.3 inches.

I've noticed that there are more Samsung models in issues, so I would like to know if there is an interest to solve these issues with them. Thanks

drlatech avatar Feb 14 '17 08:02 drlatech

Duplicate of #73?

emmettbutler avatar Jun 21 '17 18:06 emmettbutler

Yes, it is. I made this because no reactions on #73 ...

drlatech avatar Jun 21 '17 22:06 drlatech

Observing the same problem for most of Android devices. Vast majority classified as Tablets, while they are clearly Mobile Phones. Otherwise seem to be a good parser. Wish I had time to fix the issue...

art-fotinich avatar Aug 10 '17 00:08 art-fotinich