mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
update tumblr IP ranges per AS2635 prefix report; fixes #38
This commit is contained in:
parent
3bb4a4ce56
commit
2b99afb746
1 changed files with 7 additions and 2 deletions
|
@ -4,8 +4,13 @@ defmodule Philomena.Scrapers.Tumblr do
|
||||||
@size_regex ~r|_(\d+)(\..+)\z|
|
@size_regex ~r|_(\d+)(\..+)\z|
|
||||||
@sizes [1280, 540, 500, 400, 250, 100, 75]
|
@sizes [1280, 540, 500, 400, 250, 100, 75]
|
||||||
@tumblr_ranges [
|
@tumblr_ranges [
|
||||||
InetCidr.parse("66.6.32.0/23"),
|
InetCidr.parse("66.6.32.0/24"),
|
||||||
InetCidr.parse("66.6.44.0/24")
|
InetCidr.parse("66.6.33.0/24"),
|
||||||
|
InetCidr.parse("66.6.44.0/24"),
|
||||||
|
InetCidr.parse("74.114.152.0/24"),
|
||||||
|
InetCidr.parse("74.114.153.0/24"),
|
||||||
|
InetCidr.parse("74.114.154.0/24"),
|
||||||
|
InetCidr.parse("74.114.155.0/24")
|
||||||
]
|
]
|
||||||
|
|
||||||
@spec can_handle?(URI.t(), String.t()) :: true | false
|
@spec can_handle?(URI.t(), String.t()) :: true | false
|
||||||
|
|
Loading…
Reference in a new issue