diff --git a/src/main/kotlin/fr/jais/scraper/converters/AnimationDigitalNetworkConverter.kt b/src/main/kotlin/fr/jais/scraper/converters/AnimationDigitalNetworkConverter.kt index e19b1ef..47a14e1 100644 --- a/src/main/kotlin/fr/jais/scraper/converters/AnimationDigitalNetworkConverter.kt +++ b/src/main/kotlin/fr/jais/scraper/converters/AnimationDigitalNetworkConverter.kt @@ -13,7 +13,7 @@ class AnimationDigitalNetworkConverter(private val platform: AnimationDigitalNet /// Convert anime from AnimationDigitalNetworkPlatform jsonObject to entity Anime private fun convertAnime(checkedCountry: ICountry, jsonObject: JsonObject): Anime { val showJson = jsonObject.getAsJsonObject("show") ?: throw AnimeNotFoundException("No show found") - Logger.config("Convert anime from $showJson") +// Logger.config("Convert anime from $showJson") // ----- NAME ----- Logger.info("Get name...") @@ -57,7 +57,7 @@ class AnimationDigitalNetworkConverter(private val platform: AnimationDigitalNet /// Convert episode from AnimationDigitalNetworkPlatform jsonObject to entity Episode fun convertEpisode(checkedCountry: ICountry, jsonObject: JsonObject, cachedEpisodes: List): Episode { - Logger.config("Convert episode from $jsonObject") +// Logger.config("Convert episode from $jsonObject") // ----- ANIME ----- Logger.info("Convert anime...") diff --git a/src/main/kotlin/fr/jais/scraper/converters/AnimeNewsNetworkConverter.kt b/src/main/kotlin/fr/jais/scraper/converters/AnimeNewsNetworkConverter.kt index d3ea448..bb03000 100644 --- a/src/main/kotlin/fr/jais/scraper/converters/AnimeNewsNetworkConverter.kt +++ b/src/main/kotlin/fr/jais/scraper/converters/AnimeNewsNetworkConverter.kt @@ -14,7 +14,7 @@ import org.jsoup.Jsoup class AnimeNewsNetworkConverter(private val platform: AnimeNewsNetworkPlatform) { fun convertNews(checkedCountry: ICountry, jsonObject: JsonObject, cachedNews: List): News { - Logger.config("Convert news from $jsonObject") +// Logger.config("Convert news from $jsonObject") // ----- RELEASE DATE ----- Logger.info("Get release date...") diff --git a/src/main/kotlin/fr/jais/scraper/converters/CrunchyrollConverter.kt b/src/main/kotlin/fr/jais/scraper/converters/CrunchyrollConverter.kt index b5da8e0..dc4a139 100644 --- a/src/main/kotlin/fr/jais/scraper/converters/CrunchyrollConverter.kt +++ b/src/main/kotlin/fr/jais/scraper/converters/CrunchyrollConverter.kt @@ -99,7 +99,7 @@ class CrunchyrollConverter(private val platform: CrunchyrollPlatform) { } private fun convertAnime(checkedCountry: ICountry, jsonObject: JsonObject): Anime { - Logger.config("Convert anime from $jsonObject") +// Logger.config("Convert anime from $jsonObject") // ----- NAME ----- Logger.info("Get name...") @@ -218,7 +218,7 @@ class CrunchyrollConverter(private val platform: CrunchyrollPlatform) { jsonObject: JsonObject, cachedEpisodes: List ): Episode { - Logger.config("Convert episode from $jsonObject") +// Logger.config("Convert episode from $jsonObject") // ----- RESTRICTIONS ----- Logger.info("Get restrictions...") @@ -347,7 +347,7 @@ class CrunchyrollConverter(private val platform: CrunchyrollPlatform) { } fun convertNews(checkedCountry: ICountry, jsonObject: JsonObject, cachedNews: List): News { - Logger.config("Convert news from $jsonObject") +// Logger.config("Convert news from $jsonObject") // ----- RELEASE DATE ----- Logger.info("Get release date...") diff --git a/src/main/kotlin/fr/jais/scraper/platforms/NetflixPlatform.kt b/src/main/kotlin/fr/jais/scraper/platforms/NetflixPlatform.kt index 8ba14de..bc04405 100644 --- a/src/main/kotlin/fr/jais/scraper/platforms/NetflixPlatform.kt +++ b/src/main/kotlin/fr/jais/scraper/platforms/NetflixPlatform.kt @@ -56,6 +56,11 @@ class NetflixPlatform(scraper: Scraper) : IPlatform( 81499847, "https://cdn.myanimelist.net/images/anime/1743/125204.jpg", Calendar.WEDNESDAY + ), + NetflixContent( + 81177634, + "https://cdn.myanimelist.net/images/anime/1435/131396.jpg", + Calendar.THURSDAY ) ) private val cache = mutableListOf()