diff options
author | Jordan <me@jordan.im> | 2021-12-06 12:36:11 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2021-12-06 12:36:11 -0700 |
commit | 1bb7d04b6f090044a31638bd2adbeac004567c4b (patch) | |
tree | 372bab2777eda92e143a2238d13d00252ce5a64b | |
parent | 69b61d75243a9525c6e514a03dd059331c42994d (diff) | |
download | keep-1bb7d04b6f090044a31638bd2adbeac004567c4b.tar.gz keep-1bb7d04b6f090044a31638bd2adbeac004567c4b.zip |
archive: add {i,v}.redd.it to ignorelist
-rw-r--r-- | archive.go | 2 | ||||
-rw-r--r-- | archive_test.go | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -18,7 +18,7 @@ var ( ignoreList = []string{"cdn.discordapp.com", "discord.com", "tenor.com", "c.tenor.com", "archive.org", "web.archive.org", "youtu.be", "youtube.com", "www.youtube.com", "discord.gg", "media.discordapp.net", - "open.spotify.com"} + "open.spotify.com", "i.redd.it", "v.redd.it"} ) type Wayback struct { diff --git a/archive_test.go b/archive_test.go index e21fe40..096b628 100644 --- a/archive_test.go +++ b/archive_test.go @@ -23,7 +23,6 @@ func TestIsNotArchived(t *testing.T) { } } - func TestArchive200(t *testing.T) { url := "http://example.com/" |