diff --git a/regexes.yaml b/regexes.yaml index e7235e99..15edd6ba 100644 --- a/regexes.yaml +++ b/regexes.yaml @@ -980,6 +980,9 @@ user_agent_parsers: - regex: '^(ViaFree|Viafree)-(?:tvOS-)?[A-Z]{2}/(\d+)\.(\d+)\.(\d+)' family_replacement: 'ViaFree' + # HTTrack crawler + - regex: '\b(HTTrack) (\d+)\.(\d+)(?:[\.\-](\d+)|)' + os_parsers: ########## # HbbTV vendors diff --git a/tests/test_ua.yaml b/tests/test_ua.yaml index d0a0be92..45f62b49 100644 --- a/tests/test_ua.yaml +++ b/tests/test_ua.yaml @@ -8568,3 +8568,9 @@ test_cases: major: '1' minor: '0' patch: + + - user_agent_string: 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)' + family: 'HTTrack' + major: '3' + minor: '0' + patch: