Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect recognition from the alias_device.yml list #66

Open
yangnj1984 opened this issue Feb 24, 2022 · 5 comments
Open

incorrect recognition from the alias_device.yml list #66

yangnj1984 opened this issue Feb 24, 2022 · 5 comments

Comments

@yangnj1984
Copy link

yangnj1984 commented Feb 24, 2022

thx for last help

below is some ua can't get the alias device as you named

Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Focus/1.1 Chrome/83.0.4103.106 Mobile Safari/537.36

Mozilla/5.0 (Linux; U; Android 6.1.8-RS-20210508.1149; zh-CN; AILABS_S1L Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 UWS/3.22.1.71 Mobile Safari/537.36 UCBS/2.11.1.1 TTID/hybrid@windvane_android_8.5.0 WindVane/8.5.0 WindVane/8.5.0
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 CYBrowser/3.2.1.0 Chrome/77.0.3865.92 Mobile Safari/537.36
Mozilla/5.0 (Linux; U; Android 6.1.8-RS-20210202.1504; zh-CN; AILABS_S3 Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 UWS/3.22.1.71 Mobile Safari/537.36 UCBS/2.11.1.1 TTID/hybrid@windvane_android_8.5.0 WindVane/8.5.0 WindVane/8.5.0
Mozilla/5.0 (Linux; U; Android 9zh-cn; CMCC M670 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko)Version/4.0 Chrome/57.0.2987.132 MQQBrowser/8.1 Mobile Safari/537.36
Mozilla/5.0 (Linux; U; Android 4.4.4; zh-cn;  Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1
Mozilla/5.0 (Linux; U; Android 6.1.8-RS-20210604.1843; zh-CN; AILABS_S1L_8G Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 UWS/3.22.1.71 Mobile Safari/537.36 UCBS/2.11.1.1 TTID/hybrid@windvane_android_8.5.0 WindVane/8.5.0 WindVane/8.5.0
Mozilla/5.0 (Android 10; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0 |   |   |   |   |  
Mozilla/5.0 (Linux; Android 6.0.1) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 CYBrowser/3.1.7.0 Chrome/55.0.2883.91 Mobile Safari/537.36
Mozilla/5.0 (Android 6.0.1; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0 |   |   |   |  
Mozilla/5.0 (Android 9; Mobile; rv:65.0) Gecko/65.0 Firefox/65.0 |   |   |   |   |  
Mozilla/5.0 (Android 8.1.0; Mobile; rv:66.0) Gecko/66.0 Firefox/66.0 |   |   |   |  
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.120 Mobile DuckDuckGo/5 Safari/537.36
Mozilla/5.0 (Android 9; Mobile; rv:86.0) Gecko/86.0 Firefox/86.0 |   |   |   |   |  
Mozilla/5.0 (Linux; U; Android 4.4.4) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36 XiaoMi/MiuiBrowser/2.1.1
Mozilla/5.0 (Linux; Android 6.0.1) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 CYBrowser/2.9.3 Chrome/57.0.2987.132 Mobile Safari/537.36
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Safari/604.1
Mozilla/5.0 (Linux; Android 8.1.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 CYBrowser/3.2.1.0 Chrome/62.0.3202.84 Mobile Safari/537.36

ua(2).zip

@yangnj1984
Copy link
Author

also some ua can't get mobile model
i wish can help

Mozilla/5.0 (Linux; Android 9.0; 1505-A01 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile MQQBrowser/6.2 TBS/036557 Safari/537.36 V1_AND_SQ_6.5.3_398_YYB_D QQ/6.5.3.2855 NetType/WIFI WebP/0.3.0 Pixel/1080
Mozilla/5.0 (Linux; Android 10; FRL-AN00a; HMSCore 6.0.0.305) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 HuaweiBrowser/11.1.3.300 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 9; TYH201H Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.106 Mobile Safari/537.36 AWP/2.0 SogouMSE,SogouMobileBrowser/5.28.53

ua(3).zip

@sanchezzzhak
Copy link
Owner

all file result
data.csv

alias-device.zip

update alias_devices.yml

@yangnj1984
Copy link
Author

yangnj1984 commented Feb 24, 2022

so PELM00 mobile brand is oppo and mobile model should be A95

@sanchezzzhak
Copy link
Owner

AliasDevice extracts device code from the ua string as is
you need to use

$dd = new DeviceDetector($userAgent);
$dd->parse();
$device = $dd->getDeviceName();
$brand = $dd->getBrandName();
$model = $dd->getModel();

@yangnj1984
Copy link
Author

i found some miss, like
TYH601M mobile brand is huawei,model is maimang9
1505-A01 mobile brand is 360,model is N4S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants