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.4.tar.gz
(135.5 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.4.tar.gz.
File metadata
- Download URL: mc_wiki_scraper-0.1.4.tar.gz
- Upload date:
- Size: 135.5 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 |
b7aa1ee8909988891c0ee0b32fdfced8568eb4b58e904cf2b8ee634adba21147
|
|
| MD5 |
003c7d0e32a041250896947c6dddfd5c
|
|
| BLAKE2b-256 |
8570b6d25e14ce31067f648b07e659d504481edc4bcfc320f405606ebe9e3951
|
File details
Details for the file mc_wiki_scraper-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mc_wiki_scraper-0.1.4-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 |
ad941f48902990caad2d7a2b203223ec860e0c2b5513e74df10f0026ccdaa75f
|
|
| MD5 |
1ad9a9ae646a1432d5c45f9f3d5d480d
|
|
| BLAKE2b-256 |
2ea5f5feda88d1a39c0e6285248fde541fdfeb49d42cd59bed01dd5c6c485e79
|