Compare commits
7 commits
Author | SHA1 | Date | |
---|---|---|---|
a7d23b9027 | |||
013fa584fa | |||
77a2b1bca7 | |||
edeb7024d0 | |||
01a2b9bc0c | |||
cf9dd3218e | |||
5130a96edc |
18
.woodpecker.yml
Normal file
18
.woodpecker.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
steps:
|
||||||
|
dependencies:
|
||||||
|
image: node:16
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- npm i
|
||||||
|
|
||||||
|
osv-detector:
|
||||||
|
image: gitnet.fr/deblan/osv-detector:v0.10
|
||||||
|
commands:
|
||||||
|
- osv-detector package-lock.json
|
||||||
|
failure: ignore
|
||||||
|
|
||||||
|
tests:
|
||||||
|
image: node:16
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- npm run test
|
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -1,13 +0,0 @@
|
||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('mocha') {
|
|
||||||
steps {
|
|
||||||
sh 'npm install --dev'
|
|
||||||
sh 'npm run test'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Scraper
|
Scraper
|
||||||
=======
|
=======
|
||||||
|
|
||||||
[![Build Status](https://ci.gitnet.fr/buildStatus/icon?job=Gitnet%2Fscraper%2Fmaster)](https://ci.gitnet.fr/job/Gitnet/job/scraper/job/master/)
|
[![Build Status](https://ci.gitnet.fr/api/badges/deblan/scraper/status.svg)](https://ci.gitnet.fr/deblan/scraper)
|
||||||
|
|
||||||
This project is a basic tool to scrap a data from a website
|
This project is a basic tool to scrap a data from a website
|
||||||
using a CSS selector.
|
using a CSS selector.
|
||||||
|
|
2921
package-lock.json
generated
Normal file
2921
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -4,16 +4,16 @@
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mocha": "^8.1.3"
|
"mocha": "^10.2.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cheerio": "^1.0.0-rc.3",
|
"cheerio": "^1.0.0-rc.3",
|
||||||
"extends-classes": "^1.0.5",
|
"extends-classes": "^1.0.5",
|
||||||
"minimist": "^1.2.5",
|
"minimist": "^1.2.5",
|
||||||
"request": "^2.88.2",
|
"request": "^2.88.2",
|
||||||
"request-promise": "^4.2.5",
|
"request-promise": "^4.2.6",
|
||||||
"striptags": "^3.1.1",
|
"striptags": "^3.1.1",
|
||||||
"trim": "^0.0.1"
|
"trim": "^1.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha"
|
"test": "mocha"
|
||||||
|
|
Loading…
Reference in a new issue