From 1aafdf326e3d68d4e6ec2917a78ec462e420d716 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Thu, 31 Oct 2024 10:09:26 +0100 Subject: [PATCH 01/11] Improves detection for ONVO devices ref #7882 --- Tests/fixtures/tv-4.yml | 162 +++++++++++++++++++++++++++++++++++++ regexes/device/mobiles.yml | 4 +- 2 files changed, 164 insertions(+), 2 deletions(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index e2d8a439dc..2406c65cad 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3333,3 +3333,165 @@ model: Smart TV (2022) os_family: Other Smart TV browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Andr0id 13; 50OV6000U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.107 Safari/537.36 OMI/4.25.0.50.StableAVB.15 + os: + name: Android TV + version: "13" + platform: "" + client: + type: browser + name: Opera Devices + version: 4.25.0.50 + engine: Blink + engine_version: 123.0.6312.107 + device: + type: tv + brand: ONVO + model: 50OV6000U + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 13; 24OVF6000H Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 24OVF6000H + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 32OV6000H Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 32OV6000H + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 32OV6001H Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 32OV6001H + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 42OV6000F Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 42OV6000F + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 43OV6000F Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 43OV6000F + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 50OV6000U Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 50OV6000U + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 55OV6000U Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 55OV6000U + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; 65OV6000U Build/TP1A.220905.004.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Webview + version: 101.0.4951.61 + engine: Blink + engine_version: 101.0.4951.61 + device: + type: tv + brand: ONVO + model: 65OV6000U + os_family: Android + browser_family: Chrome diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 32772c39bb..92c18a8ac2 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -35074,10 +35074,10 @@ Zentality: # ONVO ONVO: - regex: 'ONVO[ _]|Apollo Premium4K TV(?:[);/ ]|$)' + regex: 'ONVO[ _]|\d{2}OV|Apollo Premium4K TV(?:[);/ ]|$)' device: 'tv' models: - - regex: 'ONVO[_ ](\d{2}OV6000[HFU])(?:[);/ ]|$)' + - regex: '(?:ONVO[_ ])?(\d{2}OV[a-z0-9]+)(?:[);/ ]|$)' model: '$1' - regex: 'Apollo Premium4K TV(?:[);/ ]|$)' model: 'Apollo Premium' From c978b8182e363a0106999c09600aff18d78e44d0 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Thu, 31 Oct 2024 10:10:56 +0100 Subject: [PATCH 02/11] Improves detection for Qilive devices ref #7882 --- Tests/fixtures/tv-4.yml | 18 ++++++++++++++++++ regexes/device/mobiles.yml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index 2406c65cad..340897ff5d 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3495,3 +3495,21 @@ model: 65OV6000U os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; Qilive SMART TV Build/RTM7.230903.053; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.100 Mobile Safari/537.36 + os: + name: Android TV + version: "11" + platform: "" + client: + type: browser + name: Chrome Webview + version: 129.0.6668.100 + engine: Blink + engine_version: 129.0.6668.100 + device: + type: tv + brand: Qilive + model: Smart TV + os_family: Android + browser_family: Chrome diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 92c18a8ac2..e0c9c47be1 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -10299,7 +10299,7 @@ Qilive: - regex: 'Qilive ([6-9][^;/)]*)(?: Build|[;)])' model: '$1' device: 'tablet' - - regex: 'QILIVE;SmartTV' + - regex: 'QILIVE[; ]Smart ?TV' model: 'Smart TV' device: 'tv' From 2c0d3732cc03b17d95d58db458961500c62a68be Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Fri, 1 Nov 2024 17:23:16 +0100 Subject: [PATCH 03/11] Improves model detection for unknown brands --- Tests/fixtures/tv-4.yml | 18 ++++++++++++++++++ regexes/device/mobiles.yml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index 340897ff5d..bb8c9ac559 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3513,3 +3513,21 @@ model: Smart TV os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 32XXXXXX-TA; 06.10.35; 1; DTV_W17R); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 32XXXXXX-TA, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: "" + model: 32XXXXXX-TA + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index e0c9c47be1..8a8f200298 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -42574,7 +42574,7 @@ Unknown: regex: 'Plasma Mobile|WebTV/(\d+\.\d+)|TV Bro| BOX|BOX | BOX |roku|YouView|DirectFB|avdn/|wired|wireless|AndroidTV|cordova-amazon-fireos|wv-atv|SDSTB|SDOTT|(?:M10 Ultra|FO-R15|TVBOX|Smart[ _-]?TV|SmartATV|M8S\+ 4K|PCBox|rk(?:3128|322x|3368)(?:[_-]box)?|H10 PLAY|Smart AIO TV|TVBOX_L|L-BOX|TVBOX-5G|mips.+(?:Opera TV|wireless|wired)|smartbox|TV BOX|BOX TV|I12Pro Max|(?:audi_)?ks1280x480|AT&T TV|RealtekATV|AOSP on r33a0|tv001 on rtd289x|hx322x_box|X98_S500|8K3528-T|MX10|V88|H8S|X92|AI PONT|tv\.plus|WayDroid x86_64 Device|MediaBox|Cloud Phone|HK1RBOX-X4)(?:[);/ ]|$)' device: 'smartphone' models: - - regex: 'LGE; ([a-z0-9]+);' + - regex: 'LGE; ([a-z0-9\-]+);' device: 'tv' model: '$1' - regex: 'WebTV/(\d+\.\d+)' From 9205fa244de796a06946e1d327583d5070594810 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Fri, 1 Nov 2024 17:28:32 +0100 Subject: [PATCH 04/11] Improves detection for LG devices ref #7885 --- Tests/fixtures/tv-4.yml | 108 +++++++++++++++++++++++++++++++++++++ regexes/device/mobiles.yml | 2 +- 2 files changed, 109 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index bb8c9ac559..b08a08e5fc 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3531,3 +3531,111 @@ model: 32XXXXXX-TA os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 32LH604V-ZB; 05.70.40; 1; DTV_W16R); webOS.TV-2016; LG NetCast.TV-2013 Compatible (LGE, 32LH604V-ZB, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 32LH604V-ZB + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 32LJ550Z-TA; 06.10.35; 1; DTV_W17R); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 32LJ550Z-TA, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 32LJ550Z-TA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 32LK6100PLB; 05.50.40; 1; DTV_W18R); webOS.TV-2018; LG NetCast.TV-2013 Compatible (LGE, 32LK6100PLB, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 32LK6100PLB + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 32LM6300PLA; 05.40.45; 1; DTV_W19R); webOS.TV-2019; LG NetCast.TV-2013 Compatible (LGE, 32LM6300PLA, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 32LM6300PLA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; 32LQ63006LA; 04.41.05; 0x00000001; DTV_W22L); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 32LQ63006LA, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 87.0.4280.88 + device: + type: tv + brand: LG + model: 32LQ63006LA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; 27LX5QKNA; 04.41.06; 0x00000001; DTV_N22D); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 27LX5QKNA, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 87.0.4280.88 + device: + type: tv + brand: LG + model: 27LX5QKNA + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 8a8f200298..d070be9bb8 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15676,7 +15676,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(? Date: Fri, 1 Nov 2024 18:22:42 +0100 Subject: [PATCH 05/11] Improves detection for LG devices ref #7885 --- Tests/fixtures/tv-4.yml | 252 +++++++++++++++++++++++++++++++++++++ regexes/device/mobiles.yml | 2 +- 2 files changed, 253 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index b08a08e5fc..c067195d88 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3639,3 +3639,255 @@ model: 27LX5QKNA os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 49SJ800V-TA; 06.10.45; 1; DTV_W17H); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 49SJ800V-TA, wired) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 49SJ800V-TA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 49SK7900PLA; 06.10.45; 1; DTV_W17H); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 49SK7900PLA, wired) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 49SK7900PLA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 49SM8000PLA; 05.40.20; 1; DTV_W19P); webOS.TV-2019; LG NetCast.TV-2013 Compatible (LGE, 49SM8000PLA, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 49SM8000PLA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 24TL510S-PZ; 06.10.35; 1; DTV_W17R); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 24TL510S-PZ, wired) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 24TL510S-PZ + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 24TN510S-WZ; 05.40.45; 1; DTV_W19R); webOS.TV-2019; LG NetCast.TV-2013 Compatible (LGE, 24TN510S-WZ, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 24TN510S-WZ + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 43UH603V-ZE; 05.70.35; 1; DTV_W16P); webOS.TV-2016; LG NetCast.TV-2013 Compatible (LGE, 43UH603V-ZE, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 43UH603V-ZE + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 43UJ630V-ZA; 06.00.15; 1; DTV_W17P); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 43UJ630V-ZA, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 43UJ630V-ZA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 65UK6100PLB; 06.10.50; 1; DTV_W17P); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 65UK6100PLB, wired) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 65UK6100PLB + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 43UM7100PLB; 05.40.45; 1; DTV_W19P); webOS.TV-2019; LG NetCast.TV-2013 Compatible (LGE, 43UM7100PLB, wired) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 43UM7100PLB + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; 43UN71006LB; 03.01.05; 0x00000001; DTV_W20P); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, 43UN71006LB, wireless) + os: + name: webOS + version: "5" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 68.0.3440.106 + device: + type: tv + brand: LG + model: 43UN71006LB + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/79.0.3945.79 Safari/537.36 LG Browser/8.00.00(LGE; 43UP75006LF; 03.41.00; 0x00000001; DTV_W21A); webOS.TV-2021; LG NetCast.TV-2013 Compatible (LGE, 43UP75006LF, wireless) + os: + name: webOS + version: "6" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 79.0.3945.79 + device: + type: tv + brand: LG + model: 43UP75006LF + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; 43UQ75003LF; 04.41.05; 0x00000001; DTV_W22P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 43UQ75003LF, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 87.0.4280.88 + device: + type: tv + brand: LG + model: 43UQ75003LF + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/94.0.4606.128 Safari/537.36 LG Browser/8.00.00(LGE; 43UR78006LK; 03.31.82; 0x00000001; DTV_W23A); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 43UR78006LK, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 94.0.4606.128 + device: + type: tv + brand: LG + model: 43UR78006LK + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 43UT81006LA; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 43UT81006LA, wired) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: 43UT81006LA + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index d070be9bb8..7a7d98d8fb 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15676,7 +15676,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(? Date: Fri, 1 Nov 2024 18:38:10 +0100 Subject: [PATCH 06/11] Improves detection for LG devices --- Tests/fixtures/tv-4.yml | 90 ++++++++++++++++++++++++++++++++++++++ regexes/device/mobiles.yml | 2 +- 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index c067195d88..ba9f34f757 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3891,3 +3891,93 @@ model: 43UT81006LA os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 50UK6510PLB; 05.50.15; 1; DTV_W18A); webOS.TV-2018; LG NetCast.TV-2013 Compatible (LGE, 50UK6510PLB, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 50UK6510PLB + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 60UJ634V-ZD; 06.10.50; 1; DTV_W17P); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 60UJ634V-ZD, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 60UJ634V-ZD + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 60UH605V-ZC; 05.70.35; 1; DTV_W16P); webOS.TV-2016; LG NetCast.TV-2013 Compatible (LGE, 60UH605V-ZC, wired) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 60UH605V-ZC + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 55UM7450PLA; 05.40.45; 1; DTV_W19P); webOS.TV-2019; LG NetCast.TV-2013 Compatible (LGE, 55UM7450PLA, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 55UM7450PLA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; 28TN525S-PZ; 05.30.40; 1; DTV_W19R); webOS.TV-2019; LG NetCast.TV-2013 Compatible (LGE, 28TN525S-PZ, wired) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: 28TN525S-PZ + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 7a7d98d8fb..24eaf051bf 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15676,7 +15676,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(? Date: Fri, 1 Nov 2024 18:50:36 +0100 Subject: [PATCH 07/11] Improves detection for LG devices ref #7885 --- Tests/fixtures/tv-4.yml | 72 ++++++++++++++++++++++++++++++++++++++ regexes/device/mobiles.yml | 4 +-- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index ba9f34f757..62689e224c 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3981,3 +3981,75 @@ model: 28TN525S-PZ os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 55NANO81T6A.BPISLJP; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 55NANO81T6A.BPISLJP, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: 55NANO81T6A + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 50NANO81T6A; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 50NANO81T6A, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: 50NANO81T6A + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; OLED48C34LA; 23.20.50; 0x00000001; DTV_W23O); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, OLED48C34LA, wired) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: OLED48C34LA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; OLED55B42LA.DVSQLJP; 23.20.21; 0x00000001; DTV_W24H); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, OLED55B42LA.DVSQLJP, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: OLED55B42LA.DVSQLJP + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 24eaf051bf..53d003235d 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15676,7 +15676,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(? Date: Fri, 1 Nov 2024 19:08:59 +0100 Subject: [PATCH 08/11] Improves detection for LG devices --- Tests/fixtures/tv-4.yml | 144 +++++++++++++++++++++++++++++++++ Tests/fixtures/tv.yml | 4 +- regexes/device/mobiles.yml | 2 +- regexes/device/televisions.yml | 2 +- 4 files changed, 148 insertions(+), 4 deletions(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index 62689e224c..c28e82434a 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -4053,3 +4053,147 @@ model: OLED55B42LA.DVSQLJP os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; 49NANO866NA; 04.50.51; 0x00000001; DTV_W20H); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, 49NANO866NA, wireless) + os: + name: webOS + version: "5" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 68.0.3440.106 + device: + type: tv + brand: LG + model: 49NANO866NA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 HbbTV/1.4.1 (+DRM; LGE; OLED55B7V-Z; WEBOS3.5 06.10.45; W3_M16P; W3_M16P;) + os: + name: webOS + version: "3.5" + platform: "" + client: + type: browser + name: Chrome + version: 38.0.2125.122 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: OLED55B7V-Z + os_family: Other Mobile + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; OLED55B6V-Z; 05.70.40; 1; DTV_W16K); webOS.TV-2016; LG NetCast.TV-2013 Compatible (LGE, OLED55B6V-Z, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: OLED55B6V-Z + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; OLED55E7N-Z; 06.10.30; 1; DTV_W17H); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, OLED55E7N-Z, wired) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: OLED55E7N-Z + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; OLED65B8PLA; 05.50.15; 1; DTV_W18H); webOS.TV-2018; LG NetCast.TV-2013 Compatible (LGE, OLED65B8PLA, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: tv + brand: LG + model: OLED65B8PLA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; OLED55C6V-Z; 05.70.30; 1; DTV_W16M); webOS.TV-2016; LG NetCast.TV-2013 Compatible (LGE, OLED55C6V-Z, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: OLED55C6V-Z + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 HbbTV/1.4.1 (+DRM; LGE; OLED65C7V-Z; WEBOS3.5 06.10.30; W3_M16P; W3_M16P;) + os: + name: webOS + version: "3.5" + platform: "" + client: + type: browser + name: Chrome + version: 38.0.2125.122 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: OLED65C7V-Z + os_family: Other Mobile + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; 49NANO866NA; 04.50.51; 0x00000001; DTV_W20H); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, 49NANO866NA, wireless) + os: + name: webOS + version: "5" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 68.0.3440.106 + device: + type: tv + brand: LG + model: 49NANO866NA + os_family: Other Mobile + browser_family: Unknown diff --git a/Tests/fixtures/tv.yml b/Tests/fixtures/tv.yml index d9e347112d..3e99c44218 100644 --- a/Tests/fixtures/tv.yml +++ b/Tests/fixtures/tv.yml @@ -3178,7 +3178,7 @@ device: type: tv brand: LG - model: OLED55B6J + model: OLED55B6J-Z os_family: Other Mobile browser_family: Chrome - @@ -3196,7 +3196,7 @@ device: type: tv brand: LG - model: OLED65C7V + model: OLED65C7V-Z os_family: Other Mobile browser_family: Chrome - diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 53d003235d..a7840db46a 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15676,7 +15676,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(? Date: Sat, 2 Nov 2024 10:57:42 +0100 Subject: [PATCH 09/11] Fix webOS version in tests --- Tests/fixtures/tv-4.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index dc9fec0e57..5dec5b31e5 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3697,7 +3697,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; 32LQ63006LA; 04.41.05; 0x00000001; DTV_W22L); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 32LQ63006LA, wireless) os: name: webOS - version: "1" + version: "22" platform: "" client: type: browser @@ -3715,7 +3715,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; 27LX5QKNA; 04.41.06; 0x00000001; DTV_N22D); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 27LX5QKNA, wireless) os: name: webOS - version: "1" + version: "22" platform: "" client: type: browser @@ -3931,7 +3931,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; 43UQ75003LF; 04.41.05; 0x00000001; DTV_W22P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 43UQ75003LF, wireless) os: name: webOS - version: "1" + version: "22" platform: "" client: type: browser @@ -3949,7 +3949,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/94.0.4606.128 Safari/537.36 LG Browser/8.00.00(LGE; 43UR78006LK; 03.31.82; 0x00000001; DTV_W23A); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 43UR78006LK, wireless) os: name: webOS - version: "1" + version: "23" platform: "" client: type: browser @@ -3967,7 +3967,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 43UT81006LA; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 43UT81006LA, wired) os: name: webOS - version: "1" + version: "24" platform: "" client: type: browser @@ -4075,7 +4075,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 55NANO81T6A.BPISLJP; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 55NANO81T6A.BPISLJP, wireless) os: name: webOS - version: "1" + version: "24" platform: "" client: type: browser @@ -4093,7 +4093,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 50NANO81T6A; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 50NANO81T6A, wireless) os: name: webOS - version: "1" + version: "24" platform: "" client: type: browser @@ -4111,7 +4111,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; OLED48C34LA; 23.20.50; 0x00000001; DTV_W23O); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, OLED48C34LA, wired) os: name: webOS - version: "1" + version: "24" platform: "" client: type: browser @@ -4129,7 +4129,7 @@ user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; OLED55B42LA.DVSQLJP; 23.20.21; 0x00000001; DTV_W24H); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, OLED55B42LA.DVSQLJP, wireless) os: name: webOS - version: "1" + version: "24" platform: "" client: type: browser From 1578152c55f8f2ec225a32452d6732c818b2b0a9 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Sat, 2 Nov 2024 11:42:52 +0100 Subject: [PATCH 10/11] Improve regex from LG matrix --- regexes/device/mobiles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 36e3118916..994f31bd7e 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15679,7 +15679,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(? Date: Sat, 2 Nov 2024 14:12:08 +0100 Subject: [PATCH 11/11] Improve regex --- Tests/fixtures/tv-4.yml | 2 +- regexes/device/mobiles.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index 5dec5b31e5..dc050993c1 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -4140,7 +4140,7 @@ device: type: tv brand: LG - model: OLED55B42LA.DVSQLJP + model: OLED55B42LA os_family: Other Mobile browser_family: Unknown - diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 994f31bd7e..08594ed8d5 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -16335,7 +16335,7 @@ LG: - regex: 'LGE;? (?:HOTEL\-TV; )?([0-9]{2}[a-z0-9]{4,9}(?:\-[a-z]{2,3})?)' model: '$1' device: 'tv' - - regex: '\(LGE?,? ([a-z0-9_ \-\.]+),? (?:wired|wireless)' + - regex: '\(LGE?,? ([a-z0-9_ -]+)(?:\.[a-z]+)?,? (?:wired|wireless)' model: '$1' device: 'tv' - regex: 'Media/([a-z]{2,3}[0-9]{3,4})' @@ -16365,7 +16365,7 @@ LG: model: '$1' - regex: 'FBDV/LG-([a-z0-9]+);FBSV' model: '$1' - - regex: 'LGE;([a-z0-9\-]+)' + - regex: 'LGE;([a-z0-9-]+)' model: '$1' - regex: 'LG[ _\-](V90.*|Optimus[ _\-]Pad.*) Build' device: 'tablet'