Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/Chan-Bill/wiki-pdf-gen
- Owner: Chan-Bill
- Created: 2021-10-22T06:20:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-20T07:27:05.000Z (over 2 years ago)
- Last Synced: 2024-06-27T13:33:23.821Z (5 months ago)
- Topics: pdf-generation, python, python3, scrape, wikipedia, wikipedia-api
- Language: Python
- Homepage:
- Size: 19.6 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.6Python 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.