parent
a1efe96b9d
commit
23e2192290
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Nicovideo Seiga'
|
||||
extClass = '.NicovideoSeiga'
|
||||
extVersionCode = 5
|
||||
extVersionCode = 6
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -220,7 +220,7 @@ class NicovideoSeiga : HttpSource() {
|
|||
// drm.cdn.nicomanga.jp -> Paid manga (Encrypted)
|
||||
// deliver.cdn.nicomanga.jp -> Free manga (Unencrypted)
|
||||
val imageRegex =
|
||||
Regex("https://drm.cdn.nicomanga.jp/image/([a-f0-9]+)_\\d{4}/\\d+p(\\.[a-z]+)?(\\?\\d+)?")
|
||||
Regex("https://drm.cdn.nicomanga.jp/image/([a-f0-9]+)_\\d+/\\d+p(\\.[a-z]+)?(\\?\\d+)?")
|
||||
val match = imageRegex.find(chain.request().url.toUrl().toString())
|
||||
?: return chain.proceed(chain.request())
|
||||
|
||||
|
|
Loading…
Reference in New Issue