Skip to content

Commit

Permalink
[INTERNAL] updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gan-of-culture committed Jan 15, 2022
1 parent 4c9bb22 commit e64da87
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions downloader/downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,38 +157,38 @@ func TestDownload(t *testing.T) {
Name: "m3u8 with aes-128 key - this is not a complete file",
data: &static.Data{
Site: "https://hanime.tv/",
Title: "Toilet no Hanako-san vs Kukkyou Taimashi 2",
Title: "Papa Katsu 1",
Type: static.DataTypeVideo,
Streams: map[string]*static.Stream{
"0": {
Type: static.DataTypeVideo,
URLs: []*static.URL{
{
URL: "https://new.alphafish.top/2/8/0/9/v1x/segs/b0/0/G6Q0WPempZmwKwgPIPEwD3hW.html",
URL: "https://s29.highwinds-cdn.com/2/9/1/3/v1x/segs/b0/2/rMMvtz8Tlnjp4qKe6JrfZbwV.html",
Ext: "ts",
},
{
URL: "https://order.apperoni.top/2/8/0/9/v1x/segs/b0/0/3PsK4HaXBX1MEcTE6pxNbo3T.html",
URL: "https://dalamud.highwinds-cdn.com/2/9/1/3/v1x/segs/b0/2/BvMkJtvHwoI2O8DbzOxD1hsO.html",
Ext: "ts",
},
{
URL: "https://dash.blingo.top/2/8/0/9/v1x/segs/b0/0/kFV4nuFjh9wTjlzImekNqShk.html",
URL: "https://s29.highwinds-cdn.com/2/9/1/3/v1x/segs/b0/2/Wzcz26tnQVIGeFFCiEjRZSV0.html",
Ext: "ts",
},
{
URL: "https://portal.nodebook11.top/2/8/0/9/v1x/segs/b0/0/8B9WLdrUH0oGWIcPpwN7BNRt.html",
URL: "https://s29.highwinds-cdn.com/2/9/1/3/v1x/segs/b0/2/1Lf6LWviP7bSksDclNPK0n5B.html",
Ext: "ts",
},
{
URL: "https://new.alphafish.top/2/8/0/9/v1x/segs/b0/0/93X7sk6FSwhtSRpZnCF5vodk.html",
URL: "https://dalamud.highwinds-cdn.com/2/9/1/3/v1x/segs/b0/2/QGtf49fMQPVWAgmWnCPNmKee.html",
Ext: "ts",
},
},
Ext: "ts",
Key: []byte{48, 49, 50, 51, 52, 53, 54, 55, 48, 49, 50, 51, 52, 53, 54, 55},
},
},
URL: "https://hanime.tv/videos/hentai/toilet-no-hanako-san-vs-kukkyou-taimashi-2",
URL: "https://hanime.tv/videos/hentai/papa-katsu-1",
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion extractors/hentaiguru/hentaiguru_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestExtract(t *testing.T) {
URL: "https://hentai.guru/hentai/bitch-na-inane-sama/episode-4/",
Title: "Bitch na Inane-sama - Episode 4",
Quality: "1920x1080",
Size: 0,
Size: 475164360,
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion extractors/jwplayer/jwplayer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestExtract(t *testing.T) {
URL: "https://hentai.guru/wp-content/plugins/player-logic/player.php?data=bDFCblBOMTZvcVAwZ2E2M1VMeUpldUc2MzNpeGUwZEc5dGF5RlRVWlBnbjJXQWV2YzN4RmJwemJjVno1TUYvWXRvMnNaNjhPMEdDdDJ1RlA0ZFVZYyt1WksybnFsd2lxZW1pQzJMSzYzd05Vdk1FVzEyeStaS3c1ekpqSnFaNmlPZE96UUM2VzljdlRJb0Zkc0tqVlJnPT06fDo6fDpzN0t3UmFNcnRNYUdJa3FrbENKSzhnPT0=",
Title: "jwplayer video",
Quality: "1920x1080",
Size: 0,
Size: 475164360,
},
},
}
Expand Down

0 comments on commit e64da87

Please sign in to comment.