Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Chan-Bill/wiki-pdf-gen

Scrape Wikipedia articles and generate PDF files.
https://github.com/Chan-Bill/wiki-pdf-gen

pdf-generation python python3 scrape wikipedia wikipedia-api

Last synced: 3 months ago
JSON representation

Scrape Wikipedia articles and generate PDF files.

Awesome Lists containing this project

README

        

# wiki-pdf-gen
Python app that scrapes summary of Wikipedia articles based on the topic you input and write it all in PDF form.

## Contents
- [Requirements](#requirements)
- How to use & run the app?
1. [Manually Building](#build)
2. [Using Executable](#using-executable)
- [Issues](#issues)

## Requirements

To run this app you will need :

- Python 3.8
- Wikipedia-API 0.5.4
- wikipedia 1.4.0
- tqdm 4.62.3
- fpdf2 2.4.6

Python 3.8 lower & Python 2.7 (Not Tested)

## Build
Clone the repository and set your path to it's directory/folder.
```
git clone https://github.com/Christian-Bill/wiki-pdf-gen.git
cd wiki-pdf-gen
```
## Install the Dependencies
```
pip install -r requirements.txt
```
## Run the App
After cloning the repository run the controller.py
```
python3 controller.py
```
## Using Executable
Download the executable file and run it directly.
Linux executable version is not available

## Issues
Report issues if you found some or pull a request.