https://github.com/slyautomation/astar_pathfinding_node_networks
This project extracts the canvas data on https://www.osrsmap.net/ and converts each canvas display as an png file. This is done by exploiting html elements on the website and adding javascript parameter functions such as .toDataURL. .toDataURL() method returns a data URI containing a representation of the image in the format specified by the type parameter (defaults to PNG). WebDriver is an open source tool for automated testing of webapps across many browsers. It provides capabilities for navigating to web pages, user input, JavaScript execution, and more. Download the chrome webdriver here: https://chromedriver.chromium.org/downloads Base64 module allows for the script to This module provides functions for encoding binary data to printable ASCII characters and decoding such encodings back to binary data. This is useful converting the canvas data to a png file. The next function merges those images by looping the interactions of the canvas images, that results in the final product a full osrs map with icons and detailed.
https://github.com/slyautomation/astar_pathfinding_node_networks
astar-algorithm chrome-webdriver map-generator maps node-networks osrs python web-scraper web-scraping webdriver
Last synced: about 1 month ago
JSON representation
This project extracts the canvas data on https://www.osrsmap.net/ and converts each canvas display as an png file. This is done by exploiting html elements on the website and adding javascript parameter functions such as .toDataURL. .toDataURL() method returns a data URI containing a representation of the image in the format specified by the type parameter (defaults to PNG). WebDriver is an open source tool for automated testing of webapps across many browsers. It provides capabilities for navigating to web pages, user input, JavaScript execution, and more. Download the chrome webdriver here: https://chromedriver.chromium.org/downloads Base64 module allows for the script to This module provides functions for encoding binary data to printable ASCII characters and decoding such encodings back to binary data. This is useful converting the canvas data to a png file. The next function merges those images by looping the interactions of the canvas images, that results in the final product a full osrs map with icons and detailed.
- Host: GitHub
- URL: https://github.com/slyautomation/astar_pathfinding_node_networks
- Owner: slyautomation
- Created: 2021-08-22T06:00:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-05T07:02:15.000Z (over 3 years ago)
- Last Synced: 2025-04-15T21:48:15.136Z (about 1 month ago)
- Topics: astar-algorithm, chrome-webdriver, map-generator, maps, node-networks, osrs, python, web-scraper, web-scraping, webdriver
- Language: Python
- Homepage:
- Size: 34.9 MB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 1