mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
refactor(rewrite): reorganize referer rules and remove obsolete mapping
This commit is contained in:
parent
46323b3fe7
commit
ad02f21d04
2 changed files with 10 additions and 17 deletions
|
@ -33,11 +33,6 @@ func TestGetRefererForURL(t *testing.T) {
|
|||
url: "https://scontent-sjc3-1.cdninstagram.com/example.jpg",
|
||||
expected: "https://www.instagram.com",
|
||||
},
|
||||
{
|
||||
name: "Piokok URL",
|
||||
url: "https://sp1.piokok.com/example.jpg",
|
||||
expected: "https://sp1.piokok.com",
|
||||
},
|
||||
{
|
||||
name: "Weibo Video URL",
|
||||
url: "https://f.video.weibocdn.com/example.mp4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue