Add LeParisien.fr

Adding French paper Le Parisien.
In cooperation with @iscreamcoke
This commit is contained in:
magnolia1234
2019-10-28 20:58:16 +01:00
committed by GitHub
parent 0015b3c90c
commit d3d9fb4b98
4 changed files with 17 additions and 0 deletions

View File

@ -41,6 +41,7 @@ var defaultSites = {
'La Tercera': 'latercera.com',
'L\'Echo': 'lecho.be',
'Le Monde': 'lemonde.fr',
'Le Parisien': 'leparisien.fr',
'Les Echos': 'lesechos.fr',
'Liberation': 'liberation.fr',
'Loeb Classical Library': 'loebclassics.com',
@ -213,6 +214,7 @@ var blockedRegexes = [
/haaretz\.co\.il\/htz\/js\/inter\.js/,
/nzherald\.co\.nz\/.+\/headjs\/.+\.js/
];
///leparisien\.fr\/pf\/resources\/dist\/base\.js\?d\=103/
const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
const userAgentMobile = "Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible ; Googlebot/2.1 ; +http://www.google.com/bot.html)"