diff --git a/src/source/StreamKiste.test.ts b/src/source/StreamKiste.test.ts index 6449890..602efcf 100644 --- a/src/source/StreamKiste.test.ts +++ b/src/source/StreamKiste.test.ts @@ -1,5 +1,5 @@ import { createTestContext } from '../test'; -import { FetcherMock, ImdbId } from '../utils'; +import { FetcherMock, TmdbId } from '../utils'; import { StreamKiste } from './StreamKiste'; const ctx = createTestContext({ de: 'on' }); @@ -12,12 +12,17 @@ describe('StreamKiste', () => { }); test('handles non-existent series gracefully', async () => { - const streams = await source.handle(ctx, 'series', new ImdbId('tt12345678', 1, 1)); + const streams = await source.handle(ctx, 'series', new TmdbId(12345678, 1, 1)); expect(streams).toHaveLength(0); }); - test('handle imdb black mirror s2e4', async () => { - const streams = await source.handle(ctx, 'series', new ImdbId('tt2085059', 2, 4)); + test('handle black mirror s2e4', async () => { + const streams = await source.handle(ctx, 'series', new TmdbId(42009, 2, 4)); + expect(streams).toMatchSnapshot(); + }); + + test('handle monster: the ed gein story s1e2', async () => { + const streams = await source.handle(ctx, 'series', new TmdbId(286801, 1, 2)); expect(streams).toMatchSnapshot(); }); }); diff --git a/src/source/StreamKiste.ts b/src/source/StreamKiste.ts index 168e2e4..3bfa7bf 100644 --- a/src/source/StreamKiste.ts +++ b/src/source/StreamKiste.ts @@ -1,7 +1,7 @@ import * as cheerio from 'cheerio'; import { ContentType } from 'stremio-addon-sdk'; import { Context, CountryCode } from '../types'; -import { Fetcher, getImdbId, Id, ImdbId } from '../utils'; +import { Fetcher, getTmdbId, Id, TmdbId } from '../utils'; import { Source, SourceResult } from './Source'; export class StreamKiste extends Source { @@ -24,9 +24,9 @@ export class StreamKiste extends Source { } public async handleInternal(ctx: Context, _type: string, id: Id): Promise { - const imdbId = await getImdbId(ctx, this.fetcher, id); + const tmdbId = await getTmdbId(ctx, this.fetcher, id); - const seriesPageUrl = await this.fetchSeriesPageUrl(ctx, imdbId); + const seriesPageUrl = await this.fetchSeriesPageUrl(ctx, tmdbId); if (!seriesPageUrl) { return []; } @@ -35,10 +35,10 @@ export class StreamKiste extends Source { const $ = cheerio.load(html); - const title = `${($('meta[property="og:title"]').attr('content') as string).trim()} ${imdbId.season}x${imdbId.episode}`; + const title = `${($('meta[property="og:title"]').attr('content') as string).trim()} ${tmdbId.season}x${tmdbId.episode}`; return Promise.all( - $(`[data-num="${imdbId.season}x${imdbId.episode}"]`) + $(`[data-num="${tmdbId.season}x${tmdbId.episode}"]`) .siblings('.mirrors') .children('[data-link]') .map((_i, el) => new URL(($(el).attr('data-link') as string).replace(/^(https:)?\/\//, 'https://'))) @@ -48,15 +48,13 @@ export class StreamKiste extends Source { ); }; - private fetchSeriesPageUrl = async (ctx: Context, imdbId: ImdbId): Promise => { - const html = await this.fetcher.text(ctx, new URL(`/?story=${imdbId.id}&do=search&subaction=search`, this.baseUrl)); + private fetchSeriesPageUrl = async (ctx: Context, tmdbId: TmdbId): Promise => { + const html = await this.fetcher.text(ctx, new URL(`/?story=${tmdbId.id}&do=search&subaction=search`, this.baseUrl)); const $ = cheerio.load(html); - const url = $('.res_item a[href]:first') - .map((_i, el) => $(el).attr('href')) + return $('.res_item a[href]:first') + .map((_i, el) => new URL($(el).attr('href') as string)) .get(0); - - return url !== undefined ? new URL(url) : url; }; } diff --git a/src/source/__fixtures__/StreamKiste/https:streamkiste.taximovie29992-black-mirror-stream-kostenlos.html b/src/source/__fixtures__/StreamKiste/https:streamkiste.taximovie29992-black-mirror-stream-kostenlos.html index b92e9de..ee8d7d6 100644 --- a/src/source/__fixtures__/StreamKiste/https:streamkiste.taximovie29992-black-mirror-stream-kostenlos.html +++ b/src/source/__fixtures__/StreamKiste/https:streamkiste.taximovie29992-black-mirror-stream-kostenlos.html @@ -38,11 +38,11 @@ - - - - - + + + + + - + - +
+ +
+
+
+ + + + + + + +
+
+
+
+
+
+
+
+ + +
IMDB Rating
+
Voting: 7.8 /10 (194,865)
+
Trailer: YouTube
+
+
+
+ +
1 590 Views
+
+
+ +
+
+
+

Monster: Die Geschichte von Ed Gein

+
(2025)
+
+ + +
+
+

Staffel/Episode:

1x08 +
+
+

Übersetzung:

Deutsch +
+
+

Spielzeit:

60 min +
+ + +
+

Die schockierende wahre Geschichte von Ed Gein, dem berüchtigten Mörder und Grabräuber, der für viele der legendärsten Killer Hollywoods zum Vorbild wurde.

+ Mehr anzeigen +
+
+
+
+
  • Streams
  • +
  • Details
  • + +
    +
    +
    +
    +

    Monster: Die Geschichte von Ed Gein serie online schauen kostenlos stream

    + +
    +
    +
    + Staffel + +
    +
    + Episode +
    +
    + +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    +
    + +
    + + +
    +
    +
    Staffel 1
    +
    + 1x1 Episode 1 – Supervideo
    +1x2 Episode 2 – Supervideo
    +1x3 Episode 3 – Supervideo
    +1x4 Episode 4 – Supervideo
    +1x5 Episode 5 – Supervideo
    +1x6 Episode 6 – Supervideo
    +1x7 Episode 7 – Supervideo
    +1x8 Episode 8 – Supervideo
    + +
    +
    + +
    + +
    + +
    + + +
    +
    +
    Übersicht - Wähle eine Sprache & Qualität
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    + +
    +
    +
    Download | 04.10.2025 - Monster: Die Geschichte von Ed Gein.streamkiste.2025.Deutsch.HD.x264
    +
    +
    + +
    + + + +
    +
    + +
    +

    Summary & Details

    +

    Die schockierende wahre Geschichte von Ed Gein, dem berüchtigten Mörder und Grabräuber, der für viele der legendärsten Killer Hollywoods zum Vorbild wurde.

    +
    +
    +

    Runtime:

    60 Min. +
    +
    +

    Video Stream:

    HD +
    +
    +

    Audio Stream:

    Deutsch +
    +
    +

    Land:

    Vereinigte Staaten +
    +
    +

    Bewertung:

    IMDb-Seite +
    +
    +
    +
    + +
    + +
    +
    +
    + +
    + + + + +
    + + + diff --git a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory12345678anddosearchandsubactionsearch b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory12345678anddosearchandsubactionsearch new file mode 100644 index 0000000..5730644 --- /dev/null +++ b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory12345678anddosearchandsubactionsearch @@ -0,0 +1,418 @@ + + + + + + +Site search » StreamKiste - Filme Online im Stream Anschauen ✅ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +
    +

    Information


    + Unfortunately, site search yielded no results. Try to change or shorten your request.

    +
    + + + + + + +
    + + + + + +
    + +
    +
    +

    Huch, da ist etwas schief gelaufen.

    +
    +

    Sorry, aber diese Seite wirst du nicht mehr finden. Chuck Norris hat sie und wird sie nie wieder hergeben!

    +

    Hast du dich vielleicht vertippt? Versuche gerne eine andere Variante des Suchwortes.

    +
    +
    +
    + +
    + + +
    + +
    +
    +
    +
    +

    Falls der Fehler bei uns lag, werden wir ihn schnellstens beheben.

    +
    +
    + +
    +
    +
    +
    +

    Du weißt nicht, was du gucken willst? Wir haben die Lösung!

    Sofort eine Kategorie auswählen, und einen Film oder Serie nach deinem Stil erforschen... +
    + +
    +
    +
    +
    + + + + +
    + +
    +
    +
    + +
    + + + + + + +
    + + + diff --git a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory286801anddosearchandsubactionsearch b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory286801anddosearchandsubactionsearch new file mode 100644 index 0000000..ad1a8c1 --- /dev/null +++ b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory286801anddosearchandsubactionsearch @@ -0,0 +1,455 @@ + + + + + + +Site search » StreamKiste - Filme Online im Stream Anschauen ✅ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + + + + +
    + + + + + +
    + +

    Found 1 responses (Query results 1 - 1) :

    + +
    +
    +

    Huch, da ist etwas schief gelaufen.

    +
    +

    Sorry, aber diese Seite wirst du nicht mehr finden. Chuck Norris hat sie und wird sie nie wieder hergeben!

    +

    Hast du dich vielleicht vertippt? Versuche gerne eine andere Variante des Suchwortes.

    +
    +
    +
    + +
    + + +
    + +
    +
    +
    +
    +

    Falls der Fehler bei uns lag, werden wir ihn schnellstens beheben.

    +
    +
    + +
    +
    +
    +
    +

    Du weißt nicht, was du gucken willst? Wir haben die Lösung!

    Sofort eine Kategorie auswählen, und einen Film oder Serie nach deinem Stil erforschen... +
    + +
    +
    +
    +
    + + + + +
    + +
    +
    + +
    + + Monster: Die Geschichte von Ed Gein + + 2025 - Serien Krimi Biographie Drama Thriller +
    +
    +

    Die schockierende wahre Geschichte von Ed Gein, dem berüchtigten Mörder und Grabräuber, der für...

    +
    + +
    + 7.8 IMDB Rating +
    +
    +
    +
    +
    + + + + +
    + +
    +
    +
    + +
    + + + + + + +
    + + + diff --git a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory42009anddosearchandsubactionsearch b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory42009anddosearchandsubactionsearch new file mode 100644 index 0000000..58bc90c --- /dev/null +++ b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistory42009anddosearchandsubactionsearch @@ -0,0 +1,455 @@ + + + + + + +Site search » StreamKiste - Filme Online im Stream Anschauen ✅ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + + + + +
    + + + + + +
    + +

    Found 1 responses (Query results 1 - 1) :

    + +
    +
    +

    Huch, da ist etwas schief gelaufen.

    +
    +

    Sorry, aber diese Seite wirst du nicht mehr finden. Chuck Norris hat sie und wird sie nie wieder hergeben!

    +

    Hast du dich vielleicht vertippt? Versuche gerne eine andere Variante des Suchwortes.

    +
    +
    +
    + +
    + + +
    + +
    +
    +
    +
    +

    Falls der Fehler bei uns lag, werden wir ihn schnellstens beheben.

    +
    +
    + +
    +
    +
    +
    +

    Du weißt nicht, was du gucken willst? Wir haben die Lösung!

    Sofort eine Kategorie auswählen, und einen Film oder Serie nach deinem Stil erforschen... +
    + +
    +
    +
    +
    + + + + +
    + +
    +
    + +
    + + Black Mirror + + 2011 - Serien Sci-Fi Fantasy Drama Mystery +
    +
    +

    Black Mirror ist eine britische Science-Fiction-Serie von Charlie Brooker, die meist einen...

    +
    + +
    + 8.7 IMDB Rating +
    +
    +
    +
    +
    + + + + +
    + +
    +
    +
    + +
    + + + + + + +
    + + + diff --git a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistorytt12345678anddosearchandsubactionsearch b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistorytt12345678anddosearchandsubactionsearch deleted file mode 100644 index f9fb8fb..0000000 --- a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistorytt12345678anddosearchandsubactionsearch +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - -Site search » StreamKiste - Filme Online im Stream Anschauen ✅ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    -
    -
    - -
    -

    Information


    - Unfortunately, site search yielded no results. Try to change or shorten your request.

    -
    - - - - - - -
    - - - - - -
    - -
    -
    -

    Huch, da ist etwas schief gelaufen.

    -
    -

    Sorry, aber diese Seite wirst du nicht mehr finden. Chuck Norris hat sie und wird sie nie wieder hergeben!

    -

    Hast du dich vielleicht vertippt? Versuche gerne eine andere Variante des Suchwortes.

    -
    -
    -
    - -
    - - -
    - -
    -
    -
    -
    -

    Falls der Fehler bei uns lag, werden wir ihn schnellstens beheben.

    -
    -
    - -
    -
    -
    -
    -

    Du weißt nicht, was du gucken willst? Wir haben die Lösung!

    Sofort eine Kategorie auswählen, und einen Film oder Serie nach deinem Stil erforschen... -
    - -
    -
    -
    -
    - - - - -
    - -
    -
    -
    - -
    - - - - - - -
    - - - diff --git a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistorytt2085059anddosearchandsubactionsearch b/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistorytt2085059anddosearchandsubactionsearch deleted file mode 100644 index a0fa19f..0000000 --- a/src/source/__fixtures__/StreamKiste/https:streamkiste.taxistorytt2085059anddosearchandsubactionsearch +++ /dev/null @@ -1,455 +0,0 @@ - - - - - - -Site search » StreamKiste - Filme Online im Stream Anschauen ✅ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - - - - -
    - - - - - -
    - -

    Found 1 responses (Query results 1 - 1) :

    - -
    -
    -

    Huch, da ist etwas schief gelaufen.

    -
    -

    Sorry, aber diese Seite wirst du nicht mehr finden. Chuck Norris hat sie und wird sie nie wieder hergeben!

    -

    Hast du dich vielleicht vertippt? Versuche gerne eine andere Variante des Suchwortes.

    -
    -
    -
    - -
    - - -
    - -
    -
    -
    -
    -

    Falls der Fehler bei uns lag, werden wir ihn schnellstens beheben.

    -
    -
    - -
    -
    -
    -
    -

    Du weißt nicht, was du gucken willst? Wir haben die Lösung!

    Sofort eine Kategorie auswählen, und einen Film oder Serie nach deinem Stil erforschen... -
    - -
    -
    -
    -
    - - - - -
    - -
    -
    - -
    - - Black Mirror - - 2011 - Serien Sci-Fi Fantasy Drama Mystery -
    -
    -

    Black Mirror ist eine britische Science-Fiction-Serie von Charlie Brooker, die meist einen...

    -
    - -
    - 8.7 IMDB Rating -
    -
    -
    -
    -
    - - - - -
    - -
    -
    -
    - -
    - - - - - - -
    - - - diff --git a/src/source/__snapshots__/StreamKiste.test.ts.snap b/src/source/__snapshots__/StreamKiste.test.ts.snap index e2de492..986b492 100644 --- a/src/source/__snapshots__/StreamKiste.test.ts.snap +++ b/src/source/__snapshots__/StreamKiste.test.ts.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing -exports[`StreamKiste handle imdb black mirror s2e4 1`] = ` +exports[`StreamKiste handle black mirror s2e4 1`] = ` [ { "meta": { @@ -24,3 +24,18 @@ exports[`StreamKiste handle imdb black mirror s2e4 1`] = ` }, ] `; + +exports[`StreamKiste handle monster: the ed gein story s1e2 1`] = ` +[ + { + "meta": { + "countryCodes": [ + "de", + ], + "referer": "https://streamkiste.taxi/movie/40087-monster-die-geschichte-von-ed-gein-stream-kostenlos.html", + "title": "Monster: Die Geschichte von Ed Gein 1x2", + }, + "url": "https://supervideo.cc/embed-lfwd3ytzsyry.html", + }, +] +`;