Simple web scrapper fetching data about creatures from Tibia -> the MMO game from Tibia Wiki.
Reading basic bestiary information about inputed creatures by it's URL.
- Python3
Input URLs of creatures to scrap, e.g:
https://tibia.fandom.com/wiki/Acid_Blob
https://tibia.fandom.com/wiki/Badger
https://tibia.fandom.com/wiki/Chicken
App will scrap data about these monsters and save output to json file:
[
{
"charmPoints": 25,
"creatureClass": "Slime",
"creatureClassification": "Blobs",
"experience": 250,
"health": 250,
"name": "Acid Blob",
"resistances": {
"Death": 100,
"Earth": 100,
"Energy": -10,
"Fire": -10,
"Ice": 20
},
"version": "8.40"
},
{
"charmPoints": 5,
"creatureClass": "Mammal",
"creatureClassification": "Mustelids",
"experience": 5,
"health": 23,
"name": "Badger",
"resistances": null,
"version": "7.4"
},
{
"charmPoints": 5,
"creatureClass": "Bird",
"creatureClassification": "Birds",
"experience": 0,
"health": 15,
"name": "Chicken",
"resistances": null,
"version": "7.5"
}
]- Clone
mainbranch of the project on your device - Install required dependencies (check dependencies)
- Create
in.txtfile in project directory - Place creatures URLs to scrap in the
in.txtfile (check example) - Run
py Main.py - Check your output in
out.jsonfile
- 1.0
- scrapping data about Creatures:
- name
- experience
- health
- class
- classification
- charm points
- resistances
- version
- scrapping data about Creatures: