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.3.tar.gz
(130.8 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.3.tar.gz.
File metadata
- Download URL: mc_wiki_scraper-0.1.3.tar.gz
- Upload date:
- Size: 130.8 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 |
64176d4a72857da5813301589f80373b0e33774f1292fb8227875cfec5f947cb
|
|
| MD5 |
7de03de7d508366f6882acc0dd818832
|
|
| BLAKE2b-256 |
dede77951cfbe7de809c226ea53f76c2068f39b6d0406134556d628969a245ce
|
File details
Details for the file mc_wiki_scraper-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mc_wiki_scraper-0.1.3-py3-none-any.whl
- Upload date:
- Size: 20.5 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 |
46363a4725097ee878b5a20b23860794049d551b83b793ea3b5496324eecca5a
|
|
| MD5 |
f152f17686e51e09825c88742efa480a
|
|
| BLAKE2b-256 |
53e79ed920615da561de10216316c2d07aa5f7fedfb89e790ef9a68f595e93b2
|