Metadata-Version: 2.1
Name: webarchiver
Version: 0.2.5
Summary: Python tool that allows you to take multiple full page screenshots of web pages without ads.
Home-page: https://github.com/Knucklessg1/webarchive
Author: Audel Rouhi
Author-email: knucklessg1@gmail.com
License: Unlicense
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: Public Domain
Classifier: Environment :: Console
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: selenium
Requires-Dist: Pillow
Requires-Dist: webdriver-manager
Requires-Dist: piexif

# Webarchiver
*Version: 0.2.5*

Python tool that allows you to take full page screenshots of pages without ads

Supports batching by adding multiple links in a text file, or my adding links to command line separated by commas.

### Requirements:
- Chrome/Chomium browser

### Usage:
| Short Flag | Long Flag   | Description                             |
|------------|-------------|-----------------------------------------|
| -h         | --help      | See Usage                               |
| -c         | --clean     | Convert mobile sites to regular site    |
| -d         | --directory | Location where the images will be saved |
|            | --dpi       | DPI for the image                       |
| -f         | --file      | Text file to read the URLs from         |
| -l         | --links     | Comma separated URLs (No spaces)        |
| -t         | --type      | Save images as PNG or JPEG              |
| -z         | --zoom      | The zoom to use on the browser          |


### Example:
```bash
webarchiver -c -f <links_file.txt> -l "<URL1,URL2,URL3>" -t <JPEG/PNG> -d "~/Downloads" -z 100 --dpi 1
```

#### Build Instructions
Build Python Package

```bash
sudo chmod +x ./*.py
pip install .
python setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"
```
