Skip to content

Commit 22b10ba

Browse files
committed
feat: support google specials crawler
1 parent 0ebe08b commit 22b10ba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/generate_iplists.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: curl -sL https://developers.google.com/static/search/apis/ipranges/googlebot.json | jq -r '.prefixes[].ipv6Prefix,.prefixes[].ipv4Prefix | select( . != null )' | $GITHUB_WORKSPACE/.github/scripts/clean_ips.sh > $GITHUB_WORKSPACE/iplists/googlebot.ips
2121

2222
- name: Generate Google Special Crawler IP-List
23-
run: curl -sL https://developers.google.com/search/apis/ipranges/special-crawlers.json | jq -r '.prefixes[].ipv6Prefix,.prefixes[].ipv4Prefix | select( . != null )' | $GITHUB_WORKSPACE/.github/scripts/clean_ips.sh > $GITHUB_WORKSPACE/iplists/googlebot-specials-crawler.ips
23+
run: curl -sL https://developers.google.com/search/apis/ipranges/special-crawlers.json | jq -r '.prefixes[].ipv6Prefix,.prefixes[].ipv4Prefix | select( . != null )' | $GITHUB_WORKSPACE/.github/scripts/clean_ips.sh > $GITHUB_WORKSPACE/iplists/google-specials-crawler.ips
2424

2525
- name: Generate BingBot IP-List
2626
run: curl -sL https://www.bing.com/toolbox/bingbot.json | jq -r '.prefixes[].ipv6Prefix,.prefixes[].ipv4Prefix | select( . != null )' | $GITHUB_WORKSPACE/.github/scripts/clean_ips.sh > $GITHUB_WORKSPACE/iplists/bingbot.ips

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ The lists are updated daily via a scheduled GitHub Action.
5050
5151
├── googlebot.ips
5252
│ IP-Addesses used by the Google Crawler
53-
53+
54+
├── google-specials-crawler.ips
55+
│ IP-Addesses used by the Google "special" crawler such as Google Adshttps://developers.google.com/crawling/docs/crawlers-fetchers/google-special-case-crawlers
56+
│ See https://developers.google.com/crawling/docs/crawlers-fetchers/google-special-case-crawlers
57+
5458
├── imagekit.ips
5559
│ IP-Addesses used by the Imagekit.io Image Proxy
5660

0 commit comments

Comments
 (0)