Skip to content

Commit 1eb757c

Browse files
committed
fix on english full parse feature
1 parent 0e1d607 commit 1eb757c

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ In case you wan't directly the dofus JSON files, I oftenly upload up-to-date enc
6262
An item result example
6363
```json
6464
{
65-
"_id":"item ID",
65+
"_id":"null : represent yourdb id",
66+
"ankamaId": "item id",
6667
"name":"item name",
6768
"description":"item description.",
6869
"lvl":"item lvl",
@@ -97,7 +98,7 @@ npm install
9798
``` bash
9899
npm start
99100
```
100-
**:warning: There is an issue with `npm start` on some CLI, in this case prefere use `node lib/app.js`.**
101+
**:warning: There is an issue with `npm start` on some CLI, in this case prefere use `npm run build && node lib/app.js`.**
101102

102103

103104
## Supported items
@@ -117,7 +118,7 @@ npm start
117118
| `Harnesse` | 100 % |
118119
| `Idol` | 100 % |
119120
| `Sidekick` | 0 % |
120-
| `Haven Bag` | 0 % |
121+
| `Haven Bag` | 100 % |
121122

122123
## We also have done an API !
123124
Visite the official non-official Dofus API : **[DOFAPI](https://dofapi.fr)**

full-parse-en.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,93 +4,93 @@ echo "============================================="
44
echo "Equipments Parse"
55
echo "============================================="
66

7-
npm run crawlit && node ./dist/app.js --game dofus --language french --category allequipments --all
7+
npm run crawlit && node ./dist/app.js --game dofus --language english --category allequipments --all
88
sleep 900
99

1010
echo "============================================="
1111
echo "Weapons Parse"
1212
echo "============================================="
1313

14-
npm run crawlit && node ./dist/app.js --game dofus --language french --category allweapons --all
14+
npm run crawlit && node ./dist/app.js --game dofus --language english --category allweapons --all
1515
sleep 900
1616

1717
echo "============================================="
1818
echo "Set Parse"
1919
echo "============================================="
2020

21-
npm run crawlit && node ./dist/app.js --game dofus --language french --category set --all
21+
npm run crawlit && node ./dist/app.js --game dofus --language english --category set --all
2222

2323

2424
echo "============================================="
2525
echo "Pet Parse"
2626
echo "============================================="
2727

28-
npm run crawlit && node ./dist/app.js --game dofus --language french --category pet --all
28+
npm run crawlit && node ./dist/app.js --game dofus --language english --category pet --all
2929

3030

3131
echo "============================================="
3232
echo "Mount Parse"
3333
echo "============================================="
3434

35-
npm run crawlit && node ./dist/app.js --game dofus --language french --category mount --all
35+
npm run crawlit && node ./dist/app.js --game dofus --language english --category mount --all
3636
sleep 900
3737

3838
echo "============================================="
3939
echo "Resource Parse"
4040
echo "============================================="
4141

42-
npm run crawlit && node ./dist/app.js --game dofus --language french --category resource --all
42+
npm run crawlit && node ./dist/app.js --game dofus --language english --category resource --all
4343
sleep 900
4444

4545
echo "============================================="
4646
echo "Consumable Parse"
4747
echo "============================================="
4848

49-
npm run crawlit && node ./dist/app.js --game dofus --language french --category consumable --all
49+
npm run crawlit && node ./dist/app.js --game dofus --language english --category consumable --all
5050
sleep 900
5151

5252
echo "============================================="
5353
echo "Monster Parse"
5454
echo "============================================="
5555

56-
npm run crawlit && node ./dist/app.js --game dofus --language french --category monster --all
56+
npm run crawlit && node ./dist/app.js --game dofus --language english --category monster --all
5757

5858

5959
echo "============================================="
6060
echo "Profession Parse"
6161
echo "============================================="
6262

63-
npm run crawlit && node ./dist/app.js --game dofus --language french --category profession --all
63+
npm run crawlit && node ./dist/app.js --game dofus --language english --category profession --all
6464

6565

6666
echo "============================================="
6767
echo "Harness Parse"
6868
echo "============================================="
6969

70-
npm run crawlit && node ./dist/app.js --game dofus --language french --category harness --all
70+
npm run crawlit && node ./dist/app.js --game dofus --language english --category harness --all
7171

7272

7373
echo "============================================="
7474
echo "Class Parse"
7575
echo "============================================="
7676

77-
npm run crawlit && node ./dist/app.js --game dofus --language french --category class --all
77+
npm run crawlit && node ./dist/app.js --game dofus --language english --category class --all
7878
sleep 900
7979

8080
echo "============================================="
8181
echo "Idol Parse"
8282
echo "============================================="
8383

84-
npm run crawlit && node ./dist/app.js --game dofus --language french --category idol --all
84+
npm run crawlit && node ./dist/app.js --game dofus --language english --category idol --all
8585

8686

8787
echo "============================================="
8888
echo "Havenbag Parse"
8989
echo "============================================="
9090

91-
npm run crawlit && node ./dist/app.js --game dofus --language french --category havenbag --all
91+
npm run crawlit && node ./dist/app.js --game dofus --language english --category havenbag --all
9292

9393
echo "============================================="
9494
echo "Full parse Finished !"
95-
echo "Now you have the last version of the Encyclopedia in French !"
95+
echo "Now you have the last version of the Encyclopedia in english !"
9696
echo "============================================="

0 commit comments

Comments
 (0)