up deps for scraping
This commit is contained in:
parent
31d8fd53c8
commit
63a265a557
@ -33,6 +33,13 @@ export const domainsConfig = [
|
|||||||
domain: 'www.free-software-academy.com',
|
domain: 'www.free-software-academy.com',
|
||||||
framework: 'static',
|
framework: 'static',
|
||||||
disableSSL: true,
|
disableSSL: true,
|
||||||
|
},{
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'coussinet',
|
||||||
|
domain: 'www.coussinet.org',
|
||||||
|
framework: 'static',
|
||||||
|
disableSSL: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
LXCcontainerLocalIP,
|
LXCcontainerLocalIP,
|
||||||
|
@ -103,7 +103,7 @@ upstream php-handler {
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
let secureAccess = `
|
let secureAccess = `
|
||||||
server {
|
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
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;
|
ssl_certificate_key /etc/letsencrypt/live/${domainConfig.domain}-0001/privkey.pem;
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
||||||
|
|
||||||
}
|
|
||||||
`
|
`
|
||||||
;
|
;
|
||||||
if(domainConfig.disableSSL){
|
if(domainConfig.disableSSL){
|
||||||
@ -139,13 +138,10 @@ ${redirectToNoWWW ? redirectToNoWWWConf : '' }
|
|||||||
|
|
||||||
${redirectToWWW ? redirectToWWWConf : '' }
|
${redirectToWWW ? redirectToWWWConf : '' }
|
||||||
|
|
||||||
|
server {
|
||||||
server {
|
|
||||||
${secureAccess}
|
${secureAccess}
|
||||||
${hostingFileAccess}
|
${hostingFileAccess}
|
||||||
|
} `,
|
||||||
}
|
|
||||||
`,
|
|
||||||
homeNginxConf: `
|
homeNginxConf: `
|
||||||
# ============ ${domainConfig.name} ===============
|
# ============ ${domainConfig.name} ===============
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ server {
|
|||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
add_header Permissions-Policy "interest-cohort=()";
|
add_header Permissions-Policy "interest-cohort=()";
|
||||||
}
|
|
||||||
# ========================== ${domainConfig.name} | fin ================ #
|
# ========================== ${domainConfig.name} | fin ================ #
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# OSM Conversion
|
# 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.
|
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
|
file:///home/tykayn/Nextcloud/boulot/osm/bdd_vitesses/overpass_results
|
||||||
|
|
||||||
|
24
package-lock.json
generated
24
package-lock.json
generated
@ -10,7 +10,9 @@
|
|||||||
"fs": "^0.0.1-security",
|
"fs": "^0.0.1-security",
|
||||||
"minimist": "^1.2.8",
|
"minimist": "^1.2.8",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"node-fs": "^0.1.7"
|
"node-fs": "^0.1.7",
|
||||||
|
"piexif": "^0.0.2",
|
||||||
|
"piexifjs": "^1.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.22.5",
|
"@babel/core": "^7.22.5",
|
||||||
@ -4722,6 +4724,16 @@
|
|||||||
"url": "https://github.com/sponsors/jonschlinkert"
|
"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": {
|
"node_modules/pirates": {
|
||||||
"version": "4.0.6",
|
"version": "4.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
|
||||||
@ -8982,6 +8994,16 @@
|
|||||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||||
"dev": true
|
"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": {
|
"pirates": {
|
||||||
"version": "4.0.6",
|
"version": "4.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
|
||||||
|
@ -5,15 +5,20 @@
|
|||||||
"fs": "^0.0.1-security",
|
"fs": "^0.0.1-security",
|
||||||
"minimist": "^1.2.8",
|
"minimist": "^1.2.8",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"node-fs": "^0.1.7"
|
"node-fs": "^0.1.7",
|
||||||
|
"piexif": "^0.0.2",
|
||||||
|
"piexifjs": "^1.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.22.5",
|
"@babel/core": "^7.22.5",
|
||||||
"@babel/preset-env": "^7.22.5",
|
"@babel/preset-env": "^7.22.5",
|
||||||
"@babel/preset-typescript": "^7.22.5",
|
"@babel/preset-typescript": "^7.22.5",
|
||||||
"@jest/globals": "^29.5.0",
|
"@jest/globals": "^29.5.0",
|
||||||
|
"@types/cheerio": "^0.22.31",
|
||||||
"@types/minimist": "^1.2.2",
|
"@types/minimist": "^1.2.2",
|
||||||
|
"axios": "^1.4.0",
|
||||||
"babel-jest": "^29.5.0",
|
"babel-jest": "^29.5.0",
|
||||||
|
"cheerio": "1.0.0-rc.12",
|
||||||
"jest": "^29.5.0",
|
"jest": "^29.5.0",
|
||||||
"nodemon": "^2.0.22",
|
"nodemon": "^2.0.22",
|
||||||
"ts-node": "^10.9.1"
|
"ts-node": "^10.9.1"
|
||||||
|
3715
pnpm-lock.yaml
generated
Normal file
3715
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user