Scrape and analyze articles from minecraft.wiki
Project description
MC Wiki Scraper
Scrape and analyze articles from minecraft.wiki
Features
- Summary – Get the first paragraph of an article.
- Table Extraction – Extract tables and save them as CSV.
- Count Words – Count words in an article and aggregate results in
word-counts.json. - Analyze Relative Word Frequency – Compare word frequencies across articles or the whole language.
- Auto Count Words – Traverse links automatically and count words in articles.
Usage
Show help:
mc-wiki-scraper -h
Example:
mc-wiki-scraper summary 'iron ingot'
Installation
Requires Python 3.11+. Install to a virtual environment (recommended):
python -m venv .venv
source .venv/bin/activate
pip install mc-wiki-scraper
Development
Clone the repository and install with test dependencies:
pip install -e '.[test]'
pytest
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
mc_wiki_scraper-0.1.5.tar.gz
(135.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mc_wiki_scraper-0.1.5.tar.gz.
File metadata
- Download URL: mc_wiki_scraper-0.1.5.tar.gz
- Upload date:
- Size: 135.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.13.11 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44520bf656cb3cf50ac9a337f2991443bbe02e69b6bc05e116684b77d48c702e
|
|
| MD5 |
7fa4fafe4caf70fac2a0cc5122fe11ca
|
|
| BLAKE2b-256 |
8d313440f88d9d6e9aecbad13663520a4f942991d0919a84b3df8f00ee184a68
|
File details
Details for the file mc_wiki_scraper-0.1.5-py3-none-any.whl.
File metadata
- Download URL: mc_wiki_scraper-0.1.5-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.13.11 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b197d428b30227458cede62fe8919dc3189b4c8948f326417ef02f8bb6dadb
|
|
| MD5 |
c0704c92b142bc366b273a6e1d2743a0
|
|
| BLAKE2b-256 |
d81bd8a3c0b4a2d221158cd7458c7936d694808325ff391c0a1f7115b5a6e412
|