diff --git a/src/de/animestream/AndroidManifest.xml b/src/de/animestream/AndroidManifest.xml
new file mode 100644
index 000000000..568741e54
--- /dev/null
+++ b/src/de/animestream/AndroidManifest.xml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/src/de/animestream/build.gradle b/src/de/animestream/build.gradle
new file mode 100644
index 000000000..b2dacd91c
--- /dev/null
+++ b/src/de/animestream/build.gradle
@@ -0,0 +1,19 @@
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply plugin: 'kotlinx-serialization'
+
+ext {
+ extName = 'AnimeStream'
+ pkgNameSuffix = 'de.animestream'
+ extClass = '.AnimeStream'
+ extVersionCode = 1
+ libVersion = '13'
+}
+
+dependencies {
+ implementation(project(':lib-voe-extractor'))
+ implementation(project(':lib-streamtape-extractor'))
+}
+
+
+apply from: "$rootDir/common.gradle"
diff --git a/src/de/animestream/res/mipmap-hdpi/ic_launcher.png b/src/de/animestream/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 000000000..c7614560f
Binary files /dev/null and b/src/de/animestream/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/src/de/animestream/res/mipmap-hdpi/ic_launcher_adaptive_back.png b/src/de/animestream/res/mipmap-hdpi/ic_launcher_adaptive_back.png
new file mode 100644
index 000000000..8dc560dd4
Binary files /dev/null and b/src/de/animestream/res/mipmap-hdpi/ic_launcher_adaptive_back.png differ
diff --git a/src/de/animestream/res/mipmap-hdpi/ic_launcher_adaptive_fore.png b/src/de/animestream/res/mipmap-hdpi/ic_launcher_adaptive_fore.png
new file mode 100644
index 000000000..4b45af0a4
Binary files /dev/null and b/src/de/animestream/res/mipmap-hdpi/ic_launcher_adaptive_fore.png differ
diff --git a/src/de/animestream/res/mipmap-mdpi/ic_launcher.png b/src/de/animestream/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 000000000..f16ed70cc
Binary files /dev/null and b/src/de/animestream/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/src/de/animestream/res/mipmap-mdpi/ic_launcher_adaptive_back.png b/src/de/animestream/res/mipmap-mdpi/ic_launcher_adaptive_back.png
new file mode 100644
index 000000000..f8feb6e59
Binary files /dev/null and b/src/de/animestream/res/mipmap-mdpi/ic_launcher_adaptive_back.png differ
diff --git a/src/de/animestream/res/mipmap-mdpi/ic_launcher_adaptive_fore.png b/src/de/animestream/res/mipmap-mdpi/ic_launcher_adaptive_fore.png
new file mode 100644
index 000000000..546fc123b
Binary files /dev/null and b/src/de/animestream/res/mipmap-mdpi/ic_launcher_adaptive_fore.png differ
diff --git a/src/de/animestream/res/mipmap-xhdpi/ic_launcher.png b/src/de/animestream/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..d2e4a4c8a
Binary files /dev/null and b/src/de/animestream/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/src/de/animestream/res/mipmap-xhdpi/ic_launcher_adaptive_back.png b/src/de/animestream/res/mipmap-xhdpi/ic_launcher_adaptive_back.png
new file mode 100644
index 000000000..1b560124d
Binary files /dev/null and b/src/de/animestream/res/mipmap-xhdpi/ic_launcher_adaptive_back.png differ
diff --git a/src/de/animestream/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png b/src/de/animestream/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png
new file mode 100644
index 000000000..3b26091b1
Binary files /dev/null and b/src/de/animestream/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png differ
diff --git a/src/de/animestream/res/mipmap-xxhdpi/ic_launcher.png b/src/de/animestream/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..28e59888b
Binary files /dev/null and b/src/de/animestream/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/src/de/animestream/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png b/src/de/animestream/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png
new file mode 100644
index 000000000..369383ac8
Binary files /dev/null and b/src/de/animestream/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png differ
diff --git a/src/de/animestream/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png b/src/de/animestream/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png
new file mode 100644
index 000000000..2f010778f
Binary files /dev/null and b/src/de/animestream/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png differ
diff --git a/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher.png b/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 000000000..7f3a3f701
Binary files /dev/null and b/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png b/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png
new file mode 100644
index 000000000..de26e98f5
Binary files /dev/null and b/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png differ
diff --git a/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png b/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png
new file mode 100644
index 000000000..ba83f89e8
Binary files /dev/null and b/src/de/animestream/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png differ
diff --git a/src/de/animestream/src/eu/kanade/tachiyomi/animeextension/de/animestream/AnimeStream.kt b/src/de/animestream/src/eu/kanade/tachiyomi/animeextension/de/animestream/AnimeStream.kt
new file mode 100644
index 000000000..b8560974e
--- /dev/null
+++ b/src/de/animestream/src/eu/kanade/tachiyomi/animeextension/de/animestream/AnimeStream.kt
@@ -0,0 +1,220 @@
+package eu.kanade.tachiyomi.animeextension.de.animestream
+
+import android.app.Application
+import android.content.SharedPreferences
+import android.os.Build
+import androidx.annotation.RequiresApi
+import androidx.preference.ListPreference
+import androidx.preference.MultiSelectListPreference
+import androidx.preference.PreferenceScreen
+import eu.kanade.tachiyomi.animesource.ConfigurableAnimeSource
+import eu.kanade.tachiyomi.animesource.model.AnimeFilterList
+import eu.kanade.tachiyomi.animesource.model.SAnime
+import eu.kanade.tachiyomi.animesource.model.SEpisode
+import eu.kanade.tachiyomi.animesource.model.Video
+import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource
+import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor
+import eu.kanade.tachiyomi.lib.voeextractor.VoeExtractor
+import eu.kanade.tachiyomi.network.GET
+import eu.kanade.tachiyomi.util.asJsoup
+import okhttp3.OkHttpClient
+import okhttp3.Request
+import okhttp3.Response
+import org.jsoup.nodes.Document
+import org.jsoup.nodes.Element
+import uy.kohesive.injekt.Injekt
+import uy.kohesive.injekt.api.get
+import android.util.Base64
+import kotlin.Exception
+
+class AnimeStream : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
+
+ override val name = "AnimeStream"
+
+ override val baseUrl = "https://animestream.world"
+
+ override val lang = "de"
+
+ override val supportsLatest = true
+
+ override val client: OkHttpClient = network.client
+
+ private val preferences: SharedPreferences by lazy {
+ Injekt.get().getSharedPreferences("source_$id", 0x0000)
+ }
+
+ override fun popularAnimeSelector(): String = "div.listupd article"
+
+ override fun popularAnimeRequest(page: Int): Request = GET("$baseUrl/anime/?page=$page&status=&type=&order=popular")
+
+ override fun popularAnimeFromElement(element: Element): SAnime {
+ val anime = SAnime.create()
+ anime.setUrlWithoutDomain(element.select("a.tip").attr("href"))
+ anime.thumbnail_url = element.select("a.tip img").attr("src")
+ anime.title = element.select("a.tip img").attr("title")
+ return anime
+ }
+
+ override fun popularAnimeNextPageSelector(): String = "div a.r"
+
+ // episodes
+
+ override fun episodeListSelector() = throw Exception("not used")
+
+ override fun episodeListParse(response: Response): List {
+ val document = response.asJsoup()
+ val episodeList = mutableListOf()
+ val episodeElement = document.select("div.eplister ul li")
+ episodeElement.forEach {
+ val episode = episodeFromElement(it)
+ episodeList.add(episode)
+ }
+
+ return episodeList
+ }
+
+ override fun episodeFromElement(element: Element): SEpisode {
+ val episode = SEpisode.create()
+ episode.episode_number = element.select("a div.epl-num").text().toFloat()
+ episode.name = element.select("a div.epl-title").text()
+ episode.setUrlWithoutDomain(element.select("a").attr("href"))
+ return episode
+ }
+
+ // Video Extractor
+
+ @RequiresApi(Build.VERSION_CODES.O)
+ override fun videoListParse(response: Response): List