An easy to use module designed to download files from Kraken
Project description
py-kraken
A python module to download files from KrakenFiles
Install
pip install py-kraken
Command Line Use
kraken-download https://krakenfiles.com/view/dbe8ee9c34/file.html
Module Use
from pykraken import Kraken
kraken_link = "https://krakenfiles.com/view/dbe8ee9c34/file.html"
# Download the file to local directory
k = Kraken()
k.download_file(kraken_link)
# Convert the kraken link to a download link
download_link = k.get_download_link(kraken_link)
print(download_link)
# 'https://krakenfiles.com/force-download/YXNkejUzNERTZmRzU0RGY3YzMmRiZThlZTljMzR8MTYxNTA3MDkyNA?fileHash=dbe8ee9c34'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-kraken-1.6.tar.gz
(2.9 kB
view hashes)