Skip to main content

A python-based individual page downloader for Issuu.

Project description

issuudl-py

A python-based downloader for Issuu.

Functions

download(url, end, ext, folder, start) and downloadWithId(id, end, ext, folder, start)

download(url: str, end: int, ext: str, folder: str ="./", start: int = 1)
downloadWithId(id: str, end: int, ext: str, folder: str ="./", start: int = 1)

These 2 functions download all pages within the given range.

Required variables: Article URL or ID. Page you want it to end on. Extension ("swf", "jpg" or "both").

Optional variables: Folder you want it to be stored (must exist, otherwise defaults to the folder the script is running in). Starting page (defaults to the first page).

The URL/ID, extension and folder must be strings. Starting and ending pages must be integers.

downloadPage(url, page, ext, folder) and downloadPageWithId(id, page, ext, folder)

downloadPage(url: str, page: int, ext: str, folder: str ="./")
downloadPageWithId(id: str, page: int, ext: str, folder: str ="./issuu/")

These 2 functions downloads the specific page. Can also be done with download() but this makes it easier.

Required variables: Article URL or ID. Specific page. Extension ("swf", "jpg" or "both").

Optional variables: Folder you want it to be stored (must exist, otherwise defaults to the folder the script is running in).

The URL/ID, extension and folder must be strings. The desired page must be an integer.

getId(url)

getId(url: str)

This function retrieves the article ID.

Required variables: Article URL.

The URL must be a string.

getJPG(page, id, folder) and getSWF(page, id, folder)

getJPG(page: int, id: str, folder: str ="./")
getSWF(page: int, id: str, folder: str ="./")

This retrieves the Jpeg file or Flash file.

Required variables: Article ID. Specific page.

Optional variables: Folder you want it to be stored (must exist, otherwise defaults to the folder the script is running in).

The ID and folder must be strings. The desired page must be an integer.

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

issuudl-saperoi-0.2.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

issuudl_saperoi-0.2.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file issuudl-saperoi-0.2.1.tar.gz.

File metadata

  • Download URL: issuudl-saperoi-0.2.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for issuudl-saperoi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 564017537f1105597e601a76c91bdfb3fa75a10c6eae53682b02877e8d05b619
MD5 043cfc8c0bd0765e8c8744ccf970fb49
BLAKE2b-256 94bf266591b48c2d058dfb1113a22fb73252607656ffa7d65d8e95f788af65db

See more details on using hashes here.

File details

Details for the file issuudl_saperoi-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: issuudl_saperoi-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for issuudl_saperoi-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12e73c419afb5ac70fc09920f8e932cc8d6754f98f591de51192675417d672d2
MD5 41bc740a196c7b80b21821c5525f712f
BLAKE2b-256 bc1edc01ea88283790defa7e90d8c547ce6efa146610d4080e350aeaeddb8741

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page