Skip to content

Commit

Permalink
Merge pull request #182 from cyberden/master
Browse files Browse the repository at this point in the history
Update replace titles for allocine integration
  • Loading branch information
trossr32 authored Mar 3, 2024
2 parents 5fc639f + 886398e commit 4843b7e
Showing 1 changed file with 92 additions and 2 deletions.
94 changes: 92 additions & 2 deletions src/content/js/content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,44 @@
search: {
containerSelector: 'meta[property="og:title"]',
selectorType: 'content',
modifiers: []
modifiers:
[
{
type: 'replace',
from: 'critiques de la série ',
to: ''
},
{
type: 'replace',
from: 'les saisons de ',
to: ''
},
{
type: 'replace',
from: 'casting ',
to: ''
},
{
type: 'replace',
from: 'actus de la série ',
to: ''
},
{
type: 'replace',
from: 'vidéos ',
to: ''
},
{
type: 'replace',
from: ' en streaming',
to: ''
},
{
type: 'replace',
from: ' en vod',
to: ''
}
]
},
where: [
{
Expand All @@ -725,7 +762,60 @@
search: {
containerSelector: 'meta[property="og:title"]',
selectorType: 'content',
modifiers: []
modifiers:
[
{
type: 'replace',
from: 'avis sur le film ',
to: ''
},
{
type: 'replace',
from: 'séances ',
to: ''
},
{
type: 'replace',
from: 'actus du film ',
to: ''
},
{
type: 'replace',
from: 'bande-annonce vo ',
to: ''
},
{
type: 'replace',
from: 'tout le casting du film ',
to: ''
},
{
type: 'replace',
from: 'avis sur le film ',
to: ''
},
{
type: 'replace',
from: ': les critiques presse',
to: ''
},
{
type: 'replace',
from: 'photos et affiches du film ',
to: ''
},
{
type: 'replace',
from: 'les secrets de tournage du film ',
to: ''
},
{
type: 'replace',
from: 'les films similaires à ',
to: ''
}

]
},
where: [
{
Expand Down

0 comments on commit 4843b7e

Please sign in to comment.