Skip to content

Commit

Permalink
[Pattern] A more careful match for RSS substring (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
omrilotan authored Jun 4, 2024
1 parent ea368a7 commit 73ffbea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [5.1.9](https://github.com/omrilotan/isbot/compare/v5.1.8...v5.1.9)

- [Pattern] A more careful match for RSS substring

## [5.1.8](https://github.com/omrilotan/isbot/compare/v5.1.7...v5.1.8)

- [Pattern] Recognise timestamp in user agent string - is used to generate unique strings for each request
Expand Down
1 change: 1 addition & 0 deletions fixtures/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ Instagram:
- Mozilla/5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 123.1.0.26.115 (iPhone11,8; iOS 13_3; en_US; en-US; scale=2.00; 828x1792; 190542906)
- Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML,like Gecko) Mobile/21F79 Instagram 330.0.3.29.91 (iPhone14,3; iOS 17_5; en_IR@calendar=gregorian; en; scale=3.00; 1125x2436; 595323416)
- Mozilla/5.0 (Linux; Android 11; Pixel 2 Build/RP1A.201005.004.A1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.120 Mobile Safari/537.36 Instagram 194.0.0.36.172 Android (30/11; 420dpi; 1080x1878; Google/google; Pixel 2; walleye; walleye; en_US; 301484483)
- Mozilla/5.0 (Linux; Android 12; moto g(50) 5G Build/S1RSS32.38-20-9-13; wv) AppleWebKit/537.36 (KHTML,like Gecko) Version/4.0 Chrome/124.0.6367.180 Mobile Safari/537.36 Instagram 333.0.0.42.91 Android (31/12; 280dpi; 720x1462; motorola; moto g(50) 5G; saipan; mt6833; pt_BR; 604247853)
- Mozilla/5.0 (Linux; Android 7.0; Lenovo K33b36 Build/NRD90N; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/65.0.3325.109 Mobile Safari/537.36 Instagram 41.0.0.13.92 Android (24/7.0; 480dpi; 1080x1920; LENOVO/Lenovo; Lenovo K33b36; K33b36; qcom; pt_BR; 103516666)
- Mozilla/5.0 (Linux; Android 7.0; TRT-LX3 Build/HUAWEITRT-LX3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 Instagram 70.0.0.22.98 Android (24/7.0; 320dpi; 720x1208; HUAWEI; TRT-LX3; HWTRT-Q; qcom; es_CO; 130580485)
Internet Explorer:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isbot",
"version": "5.1.8",
"version": "5.1.9",
"description": "🤖/👨‍🦰 Recognise bots/crawlers/spiders using the user agent string.",
"keywords": [
"bot",
Expand Down
3 changes: 2 additions & 1 deletion src/patterns.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"^read",
"^reed",
"^rest",
"^rss",
"^serf",
"^snapchat",
"^space bison",
Expand Down Expand Up @@ -137,7 +138,7 @@
"rexx;",
"rigor",
"robot",
"rss",
"rss\\b",
"scan",
"scrape",
"server",
Expand Down

0 comments on commit 73ffbea

Please sign in to comment.