Another AllAnime fix

This commit is contained in:
no-commit 2023-02-18 13:47:41 +01:00
parent da1dd7c2b8
commit 395cffe41b
3 changed files with 25 additions and 25 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 5
version = 6
cloudstream {

View file

@ -307,7 +307,7 @@ class AllAnimeProvider : MainAPI() {
"https://videobin.co/",
"https://ok.ru",
"https://streamlare.com",
"https://gembedhd.com",
"streaming.php",
)
private fun embedIsBlacklisted(url: String): Boolean {

View file

@ -20,32 +20,32 @@ data class SourceUrls(
)
data class Episode(
@JsonProperty("episodeString") val episodeString: String? = null,
// @JsonProperty("episodeString") val episodeString: String? = null,
// @JsonProperty("uploadDate" ) val uploadDate : UploadDate? = UploadDate(),
@JsonProperty("sourceUrls") val sourceUrls: ArrayList<SourceUrls> = arrayListOf(),
@JsonProperty("thumbnail") val thumbnail: String? = null,
@JsonProperty("notes") val notes: String? = null,
// @JsonProperty("thumbnail") val thumbnail: String? = null,
// @JsonProperty("notes") val notes: String? = null,
// @JsonProperty("show" ) val show : Show? = Show(),
@JsonProperty("pageStatus") val pageStatus: PageStatus? = PageStatus(),
@JsonProperty("episodeInfo") val episodeInfo: EpisodeInfo? = EpisodeInfo(),
@JsonProperty("versionFix") val versionFix: String? = null,
@JsonProperty("__typename") val _typename: String? = null
// @JsonProperty("pageStatus") val pageStatus: PageStatus? = PageStatus(),
// @JsonProperty("episodeInfo") val episodeInfo: EpisodeInfo? = EpisodeInfo(),
// @JsonProperty("versionFix") val versionFix: String? = null,
// @JsonProperty("__typename") val _typename: String? = null
)
data class EpisodeInfo(
@JsonProperty("notes") val notes: String? = null,
@JsonProperty("thumbnails") val thumbnails: ArrayList<String> = arrayListOf(),
@JsonProperty("vidInforssub") val vidInforssub: VidInforssub? = VidInforssub(),
// @JsonProperty("uploadDates" ) val uploadDates : UploadDates? = UploadDates(),
@JsonProperty("vidInforsdub") val vidInforsdub: String? = null,
@JsonProperty("vidInforsraw") val vidInforsraw: String? = null,
@JsonProperty("description") val description: String? = null,
@JsonProperty("__typename") val _typename: String? = null
)
//data class EpisodeInfo(
// @JsonProperty("notes") val notes: String? = null,
// @JsonProperty("thumbnails") val thumbnails: ArrayList<String> = arrayListOf(),
// @JsonProperty("vidInforssub") val vidInforssub: VidInforssub? = VidInforssub(),
//// @JsonProperty("uploadDates" ) val uploadDates : UploadDates? = UploadDates(),
// @JsonProperty("vidInforsdub") val vidInforsdub: String? = null,
// @JsonProperty("vidInforsraw") val vidInforsraw: String? = null,
// @JsonProperty("description") val description: String? = null,
// @JsonProperty("__typename") val _typename: String? = null
//)
data class VidInforssub(
@JsonProperty("vidResolution") val vidResolution: Int? = null,
@JsonProperty("vidPath") val vidPath: String? = null,
@JsonProperty("vidSize") val vidSize: Int? = null,
@JsonProperty("vidDuration") val vidDuration: Double? = null
)
//data class VidInforssub(
// @JsonProperty("vidResolution") val vidResolution: Int? = null,
// @JsonProperty("vidPath") val vidPath: String? = null,
// @JsonProperty("vidSize") val vidSize: Int? = null,
// @JsonProperty("vidDuration") val vidDuration: Double? = null
//)