Skip to content

Commit

Permalink
fix on english full parse feature
Browse files Browse the repository at this point in the history
  • Loading branch information
raczak committed Jul 15, 2019
1 parent 0e1d607 commit 1eb757c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ In case you wan't directly the dofus JSON files, I oftenly upload up-to-date enc
An item result example
```json
{
"_id":"item ID",
"_id":"null : represent yourdb id",
"ankamaId": "item id",
"name":"item name",
"description":"item description.",
"lvl":"item lvl",
Expand Down Expand Up @@ -97,7 +98,7 @@ npm install
``` bash
npm start
```
**:warning: There is an issue with `npm start` on some CLI, in this case prefere use `node lib/app.js`.**
**:warning: There is an issue with `npm start` on some CLI, in this case prefere use `npm run build && node lib/app.js`.**


## Supported items
Expand All @@ -117,7 +118,7 @@ npm start
| `Harnesse` | 100 % |
| `Idol` | 100 % |
| `Sidekick` | 0 % |
| `Haven Bag` | 0 % |
| `Haven Bag` | 100 % |

## We also have done an API !
Visite the official non-official Dofus API : **[DOFAPI](https://dofapi.fr)**
Expand Down
28 changes: 14 additions & 14 deletions full-parse-en.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,93 +4,93 @@ echo "============================================="
echo "Equipments Parse"
echo "============================================="

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

echo "============================================="
echo "Weapons Parse"
echo "============================================="

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

echo "============================================="
echo "Set Parse"
echo "============================================="

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


echo "============================================="
echo "Pet Parse"
echo "============================================="

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


echo "============================================="
echo "Mount Parse"
echo "============================================="

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

echo "============================================="
echo "Resource Parse"
echo "============================================="

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

echo "============================================="
echo "Consumable Parse"
echo "============================================="

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

echo "============================================="
echo "Monster Parse"
echo "============================================="

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


echo "============================================="
echo "Profession Parse"
echo "============================================="

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


echo "============================================="
echo "Harness Parse"
echo "============================================="

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


echo "============================================="
echo "Class Parse"
echo "============================================="

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

echo "============================================="
echo "Idol Parse"
echo "============================================="

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


echo "============================================="
echo "Havenbag Parse"
echo "============================================="

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

echo "============================================="
echo "Full parse Finished !"
echo "Now you have the last version of the Encyclopedia in French !"
echo "Now you have the last version of the Encyclopedia in english !"
echo "============================================="

0 comments on commit 1eb757c

Please sign in to comment.