chore(extractor): improve SuperVideo title

This commit is contained in:
WebStreamr 2025-06-11 10:08:13 +00:00
parent c05fe96059
commit 2ea8c16d9e
No known key found for this signature in database
8 changed files with 11 additions and 11 deletions

View file

@ -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 [
{

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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",