From eecf3a815b0ef687500b9bcf846fabe831c3c2d0 Mon Sep 17 00:00:00 2001 From: Alexander Azarov Date: Mon, 21 Oct 2019 21:37:02 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20document=20where=20Twitter?= =?UTF-8?q?=20keeps=20the=20list=20of=20IPs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- lib/legitbot/twitter.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a137cd6..a91ee02 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ end * [Facebook crawler](https://developers.facebook.com/docs/sharing/webmasters/crawler) * [Google crawlers](https://support.google.com/webmasters/answer/1061943) * [Pinterest](https://help.pinterest.com/en/articles/about-pinterest-crawler-0) -* [Twitterbot](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started) +* [Twitterbot](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started), the list of IPs is in the [Troubleshooting page](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/troubleshooting-cards) * [Yandex robots](https://yandex.com/support/webmaster/robot-workings/check-yandex-robots.xml) ## License diff --git a/lib/legitbot/twitter.rb b/lib/legitbot/twitter.rb index 9566b6d..1874d05 100644 --- a/lib/legitbot/twitter.rb +++ b/lib/legitbot/twitter.rb @@ -2,6 +2,7 @@ module Legitbot # :nodoc: # https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started + # https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/troubleshooting-cards class Twitter < BotMatch ip_ranges %w[ 199.16.156.0/22