Skip to content

alehee/Tibia-Fandom-Web-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tibia Fandom Web Scrapper

Description

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.

Used technology

  • Python3

Dependencies

Example

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"
    }
]

How To Use

  1. Clone main branch of the project on your device
  2. Install required dependencies (check dependencies)
  3. Create in.txt file in project directory
  4. Place creatures URLs to scrap in the in.txt file (check example)
  5. Run py Main.py
  6. Check your output in out.json file

Changelog

  • 1.0
    • scrapping data about Creatures:
      • name
      • experience
      • health
      • class
      • classification
      • charm points
      • resistances
      • version

About

Simple Python web scrapper for Tibia Fandom Wiki

Topics

Resources

Stars

Watchers

Forks

Languages