diff --git a/src/extractor/SuperVideo.ts b/src/extractor/SuperVideo.ts index 19907d0..38b4fb0 100644 --- a/src/extractor/SuperVideo.ts +++ b/src/extractor/SuperVideo.ts @@ -31,7 +31,7 @@ export class SuperVideo implements Extractor { const heightAndSizeMatch = html.match(/\d{3,}x(\d{3,}), ([\d.]+ ?[GM]B)/); const $ = cheerio.load(html); - const title = $('title').text().trim().replace(/^Watch /, '').trim(); + const title = $('.download__title').text().trim(); return [ { diff --git a/src/handler/__snapshots__/CineHDPlus.test.ts.snap b/src/handler/__snapshots__/CineHDPlus.test.ts.snap index 9cdf9b2..d7e7b15 100644 --- a/src/handler/__snapshots__/CineHDPlus.test.ts.snap +++ b/src/handler/__snapshots__/CineHDPlus.test.ts.snap @@ -9,7 +9,7 @@ exports[`CineHDPlus handle imdb babylon 5 s2e3 (es) 1`] = ` "bytes": 219571814, "countryCode": "es", "height": 344, - "title": "Babylon 2x3", + "title": "Babylon 5 2x3", }, "sourceId": "supervideo_es", "ttl": 900000, diff --git a/src/handler/__snapshots__/Eurostreaming.test.ts.snap b/src/handler/__snapshots__/Eurostreaming.test.ts.snap index 48a7e19..66c6eea 100644 --- a/src/handler/__snapshots__/Eurostreaming.test.ts.snap +++ b/src/handler/__snapshots__/Eurostreaming.test.ts.snap @@ -9,7 +9,7 @@ exports[`Eurostreaming handle imdb black mirror s2e4 1`] = ` "bytes": 875875532, "countryCode": "it", "height": 1080, - "title": "Black Mirror 1080p", + "title": "Black Mirror S2 E4 1080p", }, "sourceId": "supervideo_it", "ttl": 900000, @@ -23,7 +23,7 @@ exports[`Eurostreaming handle imdb black mirror s2e4 1`] = ` "bytes": 875875532, "countryCode": "it", "height": 1080, - "title": "Black Mirror 1080p", + "title": "Black Mirror S2 E4 1080p", }, "sourceId": "supervideo_it", "ttl": 900000, diff --git a/src/handler/__snapshots__/FrenchCloud.test.ts.snap b/src/handler/__snapshots__/FrenchCloud.test.ts.snap index 8a2ff80..c40394f 100644 --- a/src/handler/__snapshots__/FrenchCloud.test.ts.snap +++ b/src/handler/__snapshots__/FrenchCloud.test.ts.snap @@ -9,7 +9,7 @@ exports[`FrenchCloud handle imdb the devil's bath 1`] = ` "bytes": 966682214, "countryCode": "fr", "height": 720, - "title": "the devils bath enfant pour diable 2024 cam", + "title": "the-devils-bath-un-enfant-pour-le-diable-2024-cam", }, "sourceId": "supervideo_fr", "ttl": 900000, diff --git a/src/handler/__snapshots__/MeineCloud.test.ts.snap b/src/handler/__snapshots__/MeineCloud.test.ts.snap index 2ea6a18..08cde73 100644 --- a/src/handler/__snapshots__/MeineCloud.test.ts.snap +++ b/src/handler/__snapshots__/MeineCloud.test.ts.snap @@ -9,7 +9,7 @@ exports[`MeineCloud handle imdb the devil's bath 1`] = ` "bytes": 1073741824, "countryCode": "de", "height": 720, - "title": "des teufels bad 2024", + "title": "des-teufels-bad-2024", }, "sourceId": "supervideo_de", "ttl": 900000, diff --git a/src/handler/__snapshots__/MostraGuarda.test.ts.snap b/src/handler/__snapshots__/MostraGuarda.test.ts.snap index fa45a8f..02a4c1d 100644 --- a/src/handler/__snapshots__/MostraGuarda.test.ts.snap +++ b/src/handler/__snapshots__/MostraGuarda.test.ts.snap @@ -9,7 +9,7 @@ exports[`MostraGuarda handle imdb the devil's bath 1`] = ` "bytes": 1181116006, "countryCode": "it", "height": 720, - "title": "the devils bath 2024 sub ita", + "title": "the-devils-bath-2024-sd-sub-ita", }, "sourceId": "supervideo_it", "ttl": 900000, diff --git a/src/handler/__snapshots__/VerHdLink.test.ts.snap b/src/handler/__snapshots__/VerHdLink.test.ts.snap index 5c242a9..b36e6b0 100644 --- a/src/handler/__snapshots__/VerHdLink.test.ts.snap +++ b/src/handler/__snapshots__/VerHdLink.test.ts.snap @@ -9,7 +9,7 @@ exports[`VerHdLink handle titanic 1`] = ` "bytes": 1503238553, "countryCode": "mx", "height": 556, - "title": "titanic 1997 [latino]", + "title": "titanic-1997-[latino]", }, "sourceId": "supervideo_mx", "ttl": 900000, @@ -51,7 +51,7 @@ exports[`VerHdLink handle titanic 1`] = ` "bytes": 1610612736, "countryCode": "es", "height": 544, - "title": "titanic 1997 2[castellano]", + "title": "titanic-1997-2[castellano]", }, "sourceId": "supervideo_es", "ttl": 900000, diff --git a/src/utils/__snapshots__/StreamResolver.test.ts.snap b/src/utils/__snapshots__/StreamResolver.test.ts.snap index 2268bdd..86062ec 100644 --- a/src/utils/__snapshots__/StreamResolver.test.ts.snap +++ b/src/utils/__snapshots__/StreamResolver.test.ts.snap @@ -189,7 +189,7 @@ exports[`resolve returns sorted results 1`] = ` "videoSize": 1181116006, }, "name": "WebStreamr 720P", - "title": "📂 the devils bath 2024 sub ita + "title": "📂 the-devils-bath-2024-sd-sub-ita 💾 1.1 GB 🌐 Italian 🇮🇹 🔗 SuperVideo", @@ -201,7 +201,7 @@ exports[`resolve returns sorted results 1`] = ` "videoSize": 1073741824, }, "name": "WebStreamr 720P", - "title": "📂 des teufels bad 2024 + "title": "📂 des-teufels-bad-2024 💾 1 GB 🌐 German 🇩🇪 🔗 SuperVideo",