-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ComicRyu : add support for unicorn subdomain
- Loading branch information
Showing
2 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,43 @@ | ||
import { TestFixture, type Config } from '../../../test/WebsitesFixture'; | ||
import { TestFixture } from '../../../test/WebsitesFixture'; | ||
|
||
const config: Config = { | ||
new TestFixture({ | ||
plugin: { | ||
id: 'comicryu', | ||
title: 'COMICリュウ' | ||
}, | ||
container: { | ||
url: 'https://www.comic-ryu.jp/series/zingnize/', | ||
id: '/series/zingnize/', | ||
id: 'https://www.comic-ryu.jp/series/zingnize/', | ||
title: 'ZINGNIZE' | ||
}, | ||
child: { | ||
id: '/2167/', | ||
id: 'https://www.comic-ryu.jp/2167/', | ||
title: '第一話「高坂甚内①」' | ||
}, | ||
entry: { | ||
index: 0, | ||
size: 3_619_874, | ||
type: 'image/jpeg', | ||
timeout: 25000 | ||
} | ||
}; | ||
}).AssertWebsite(); | ||
|
||
new TestFixture(config).AssertWebsite(); | ||
new TestFixture({ | ||
plugin: { | ||
id: 'comicryu', | ||
title: 'COMICリュウ' | ||
}, | ||
container: { | ||
url: 'https://unicorn.comic-ryu.jp/series/isekaichikyuukan/', | ||
id: 'https://unicorn.comic-ryu.jp/series/isekaichikyuukan/', | ||
title: '異世界⇔地球間で個人貿易してみた' | ||
}, | ||
child: { | ||
id: 'https://unicorn.comic-ryu.jp/145/', | ||
title: '第1話' | ||
}, | ||
entry: { | ||
index: 0, | ||
size: 172_714, | ||
type: 'image/jpeg', | ||
} | ||
}).AssertWebsite(); |