WikiExtractor / WikiExtractor/wikiextractor

Add feature to extractPage to also dump the extracted page to json/csv/txt

Open
#317 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4k
Forks
1k
Avg merge
1m
Merged PRs (30d)
10

Description

Thank you for your tool, I've tried using it as seen below

image

Can you please add a feature in the extractPage py to also have the capability to dump the extracted text into a json/csv/txt, and even have the option to remove all markups and html and just get the text of the page?

Also, is it possible to submit multiple Ids at once rather than one by one? Thank you and more power!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the extractPage Python code and determine how it currently accepts page IDs and produces extracted text. Define the requested output formats and markup-removal behavior, along with whether multiple IDs should be accepted together. Done means the tool can process the requested IDs and produce json, csv, or txt output as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.