Skip to content

Commit

Permalink
Merge pull request #161 from horsten/master
Browse files Browse the repository at this point in the history
Eliminate false positive for Pinterest iOS/Android apps
  • Loading branch information
JayBizzle committed Jan 11, 2017
2 parents b701173 + 001c5c9 commit 020cf55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Fixtures/Crawlers.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ class Crawlers extends AbstractProvider
'Pingdom\.com',
'Pingoscope',
'PingSpot',
'Pinterest',
'pinterest\.com',
'Pizilla',
'Ploetz \+ Zeller',
'Plukkie',
Expand Down
4 changes: 3 additions & 1 deletion tests/crawlers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2424,4 +2424,6 @@ Mozilla/5.0 (compatible; Tetrahedron/1.0; +https://compute.info/tet)
PritTorrent/0.1
FeedBunch/1.0 (+http://www.feedbunch.com)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) www.HomepageScreenshot.de - Free ScreenShotService/1.0 Safari/537.21
Mozilla/5.0 (compatible; Licorne Image Snapshot 1.0; +http://www.jednorozec.cz)
Mozilla/5.0 (compatible; Licorne Image Snapshot 1.0; +http://www.jednorozec.cz)
Pinterest/0.2 (+https://www.pinterest.com/bot.html)
Pinterest/0.1 (+https://www.pinterest.com/bot.html)
3 changes: 3 additions & 0 deletions tests/devices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21626,3 +21626,6 @@ webster-internet.de pad browser
woot woot
www.splashaccess.net
Mozilla/5.0 (Linux; U; Android 5.1; zh-cn; 1501_M02 Build/LMY47D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 SogouMSE,SogouMobileBrowser/4.1.0
Mozilla/5.0 (Linux; Android 5.1.1; Nexus 7 Build/LMY47V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/43.0.2357.121 Safari/537.36 [Pinterest/Android]
Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; A727 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 [Pinterest/Android]
Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D167 [Pinterest/iOS]

0 comments on commit 020cf55

Please sign in to comment.