Add SMA-14 to SilentMangaAudition. (#6464)

This commit is contained in:
Alessandro Jean 2021-04-07 14:48:43 -03:00 committed by GitHub
parent fec5ae1095
commit 371716b5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Silent Manga Audition' extName = 'Silent Manga Audition'
pkgNameSuffix = 'en.silentmangaaudition' pkgNameSuffix = 'en.silentmangaaudition'
extClass = '.SilentMangaAudition' extClass = '.SilentMangaAudition'
extVersionCode = 1 extVersionCode = 2
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -8,6 +8,12 @@ data class SmaEntry(
) )
val SMA_ENTRIES = listOf( val SMA_ENTRIES = listOf(
SmaEntry(
"SMA-14 “Creature, Spirits & Monsters”",
"/sma14-silent-manga-audition-2020-award-winners",
"/v/sma14/blooming-flower-by-blackwink/",
"https://www.manga-audition.com/wp/wp-content/themes/gridlove-child/assets/img/award-result/sma14/header_sp.png"
),
SmaEntry( SmaEntry(
"SMA-13 “Together for peace”", "SMA-13 “Together for peace”",
"/sma13-silent-manga-audition-2020-award-winners/", "/sma13-silent-manga-audition-2020-award-winners/",

View File

@ -129,6 +129,7 @@ class SilentMangaAudition : HttpSource() {
companion object { companion object {
private const val SMACMAG_URL = "https://smacmag.net" private const val SMACMAG_URL = "https://smacmag.net"
private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36" private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " +
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36"
} }
} }