Skip to main content

wotlk_db_proj

Project description

WotlkData

AiCore Scraping Project Scrapes World of warcraft (The Lich King v3.5.5) in game character inventory items.

About the game

World of Warcraft (WoW) is a massively multiplayer online role-playing game (MMORPG) released in 2004 by Blizzard Entertainment. Set in the Warcraft fantasy universe, World of Warcraft takes place within the world of Azeroth, approximately four years after the events of the previous game in the series, Warcraft III: The Frozen Throne.[3] The game was announced in 2001, and was released for the 10th anniversary of the Warcraft franchise on November 23, 2004. Since launch, World of Warcraft has had eight major expansion packs: The Burning Crusade (2007), Wrath of the Lich King (2008), Cataclysm (2010), Mists of Pandaria (2012), Warlords of Draenor (2014), Legion (2016), Battle for Azeroth (2018), and Shadowlands (2020).

Similar to other MMORPGs, the game allows players to create a character avatar and explore an open game world in third- or first-person view, exploring the landscape, fighting various monsters, completing quests, and interacting with non-player characters (NPCs) or other players. The game encourages players to work together to complete quests, enter dungeons and engage in player versus player (PvP) combat, however the game can also be played solo without interacting with others. The game primarily focuses on character progression, in which players earn experience points to level up their character to make them more powerful and buy and sell items using in-game currency to acquire better equipment, among other game systems.

World of Warcraft was a major critical and commercial success upon its original release in 2004 and quickly became the most popular MMORPG of all time, reaching a peak of 12 million subscribers in 2010.The game had over one hundred million registered accounts by 2014[5] and by 2017, had grossed over $9.23 billion in revenue, making it one of the highest-grossing video game franchises of all time. The game has been cited by gaming journalists as the greatest MMORPG of all time and one of the greatest video games of all time and has also been noted for its long lifespan, continuing to receive developer support and expansion packs over 15 years since its initial release.In 2019, a vanilla version of the game titled World of Warcraft Classic was launched, allowing players to experience the base game before any of its expansions launched.

Items

An item is something that a World of Warcraft player character can carry, either in their inventory, represented by an inventory icon, or tracked on a page in the character sheet. An item is a conceptual object in the player's head, not an object in the game world, although an item may also have an object associated with it. For example, clothing gear items are equipped, clothing gear objects appear on the character.

Item level (often abbreviated as ilevel or simply ilvl) is a rather important property of every item. It has two main functions — to reflect the item's usefulness and at the same time determine the minimum level a character must have in order to use it. Item level serves as a rough indicator of the power and usefulness of an item, designed to reflect the overall benefit of using the item. Two items of equal ilvl should in theory therefore be of equal potential use.

How the scraper works.

Lists : 'weapons' , 'armor' and 'armor_08' defines all the items available for scraping. They are to be used as arguments to navigate to the main search page through drop down menu. Main search page has filter section on the top, obtainable with a button(sometimes the filter appears to be on and the button change it's function to off). Items are filtered on item level base. Main page can only show 50 items at a time and up to 300 items obtainable with next page button. To avoid missing an item while scraping, use_web_filter function set ranges of item level with step 10. To get smaller than the max range(1-290) of items sctaped (for testing), variables min_item_lvl and max_item_lvl can be changed inside the function.

woltk_scraper.py inherits functions from the ScraperBot class in scraper_bot.py, which allows opening chrome session, set of url, coockies management, hoovering over elements on the web page, clicking on elements and functions for filling text fields with keys from the keyboard.

Running

Running wotlk_scraper.py as it is will start scraping all the items in predefined lists. Headless and verbose options are available (headless for scraping without GIU, verbose - adds massages at different stages of scraping process)and can be set to True or False while instantiate the Scraper class. Directory named /raw_data will be created initaily in the file's current directory. Ignore the error about already existance of this directory.

Dependencies

python 3.9.7 selenium 4.1.0 webdriver-manager 3.5.2 pandas 1.3.4 pillow 9.0.1

Storing data

Data is stored in directory /raw_data.Images take places inside /images directory inside /raw_data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wotlk_db_BY_MCH-0.0.1.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wotlk_db_BY_MCH-0.0.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file wotlk_db_BY_MCH-0.0.1.tar.gz.

File metadata

  • Download URL: wotlk_db_BY_MCH-0.0.1.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for wotlk_db_BY_MCH-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4788b38db553b4b25dab244219155aa51bd651bfd9bcadab7327598c3b74146f
MD5 1fe80bce65fa2bec975be59936cab9c6
BLAKE2b-256 a22dd3808c4652d201be3bf67ae8e673d3237c7a08a27eb2575193a2f97cedae

See more details on using hashes here.

File details

Details for the file wotlk_db_BY_MCH-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: wotlk_db_BY_MCH-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for wotlk_db_BY_MCH-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b09369af5a9dff46cfd10804eeeda61fb5a896529176808cb8287ecba2462c1
MD5 d29f6c7fbbf587bc9caacc64299acf87
BLAKE2b-256 5dbb5aaf8e4cd884b2d6a58ea0e21c5bd19f9a87dbe2bfbf3ecbc33afefde6ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page