up deps for scraping

This commit is contained in:
Tykayn 2023-08-17 12:42:43 +02:00 committed by tykayn
parent 31d8fd53c8
commit 63a265a557
7 changed files with 3757 additions and 11 deletions

View File

@ -33,6 +33,13 @@ export const domainsConfig = [
domain: 'www.free-software-academy.com',
framework: 'static',
disableSSL: true,
},{
LXCcontainerLocalIP,
LXCcontainerProtocol,
name: 'coussinet',
domain: 'www.coussinet.org',
framework: 'static',
disableSSL: true,
},
{
LXCcontainerLocalIP,

View File

@ -103,7 +103,7 @@ upstream php-handler {
`;
let secureAccess = `
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@ -112,7 +112,6 @@ upstream php-handler {
ssl_certificate_key /etc/letsencrypt/live/${domainConfig.domain}-0001/privkey.pem;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
}
`
;
if(domainConfig.disableSSL){
@ -139,13 +138,10 @@ ${redirectToNoWWW ? redirectToNoWWWConf : '' }
${redirectToWWW ? redirectToWWWConf : '' }
server {
${secureAccess}
${hostingFileAccess}
}
`,
} `,
homeNginxConf: `
# ============ ${domainConfig.name} ===============

View File

@ -90,7 +90,7 @@ server {
log_not_found off;
}
add_header Permissions-Policy "interest-cohort=()";
}
# ========================== ${domainConfig.name} | fin ================ #
`
}

View File

@ -1,6 +1,7 @@
# OSM Conversion
Convertir un résultat d'overpass vers un tableau CSV de base de données présentant les limites de vitesse de tronçons routiers.
Overpass permet un export en csv, donc finalement, pas besoin de conversion.
file:///home/tykayn/Nextcloud/boulot/osm/bdd_vitesses/overpass_results

24
package-lock.json generated
View File

@ -10,7 +10,9 @@
"fs": "^0.0.1-security",
"minimist": "^1.2.8",
"moment": "^2.29.4",
"node-fs": "^0.1.7"
"node-fs": "^0.1.7",
"piexif": "^0.0.2",
"piexifjs": "^1.0.6"
},
"devDependencies": {
"@babel/core": "^7.22.5",
@ -4722,6 +4724,16 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/piexif": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/piexif/-/piexif-0.0.2.tgz",
"integrity": "sha512-a78AfSOYCXAx+tj/46kzAntKbxlSLyXta75LL6OxPLtSPQwCvqx3OfPvUEHT5Y/9FZsgxtgBu4CUf90F44B5Sw=="
},
"node_modules/piexifjs": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/piexifjs/-/piexifjs-1.0.6.tgz",
"integrity": "sha512-0wVyH0cKohzBQ5Gi2V1BuxYpxWfxF3cSqfFXfPIpl5tl9XLS5z4ogqhUCD20AbHi0h9aJkqXNJnkVev6gwh2ag=="
},
"node_modules/pirates": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
@ -8982,6 +8994,16 @@
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"dev": true
},
"piexif": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/piexif/-/piexif-0.0.2.tgz",
"integrity": "sha512-a78AfSOYCXAx+tj/46kzAntKbxlSLyXta75LL6OxPLtSPQwCvqx3OfPvUEHT5Y/9FZsgxtgBu4CUf90F44B5Sw=="
},
"piexifjs": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/piexifjs/-/piexifjs-1.0.6.tgz",
"integrity": "sha512-0wVyH0cKohzBQ5Gi2V1BuxYpxWfxF3cSqfFXfPIpl5tl9XLS5z4ogqhUCD20AbHi0h9aJkqXNJnkVev6gwh2ag=="
},
"pirates": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",

View File

@ -5,15 +5,20 @@
"fs": "^0.0.1-security",
"minimist": "^1.2.8",
"moment": "^2.29.4",
"node-fs": "^0.1.7"
"node-fs": "^0.1.7",
"piexif": "^0.0.2",
"piexifjs": "^1.0.6"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@jest/globals": "^29.5.0",
"@types/cheerio": "^0.22.31",
"@types/minimist": "^1.2.2",
"axios": "^1.4.0",
"babel-jest": "^29.5.0",
"cheerio": "1.0.0-rc.12",
"jest": "^29.5.0",
"nodemon": "^2.0.22",
"ts-node": "^10.9.1"

3715
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff