Skip to content

Tool to scrap all Old School Runescape quests.

Notifications You must be signed in to change notification settings

dandes3/osrs-quest-scrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Old School Runescape Quest Scrapper

Introduction

This program is a webscrapper used to retrive the following data of all osrs quests:

  • Quest name
  • Quest QP reward
  • Quest length
  • Quest membership requirement
  • Quest wiki url

The website used to scrap the data was the osrs wikia quest table.

The program is written in python using xpath hierarchy, to find the apropriate data. After that, the array of quests was saved in a JSON format.

Running

To run the program, just execute main.py:

python main.py

The output will be displayed in the quests.json. For example:

[
    {
        "name": "Black Knight's Fortress",
        "quest_points_reward": "3",
        "length": "3 Medium",
        "membership_requirement": false,
        "url": "http:https://oldschoolrunescape.wikia.com/wiki/Black_Knight%27s_Fortress"
    },
    {
        "name": "Cook's Assistant",
        "quest_points_reward": "1",
        "length": "2 Short",
        "membership_requirement": false,
        "url": "http:https://oldschoolrunescape.wikia.com/wiki/Cook%27s_Assistant"
    },
    
    ...

About

Tool to scrap all Old School Runescape quests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%