Skip to content
/ silae Public

Silae downloader is an automatic tool which replicates the remote Silae drive locally

License

Notifications You must be signed in to change notification settings

beckr/silae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silae downloader ⬇

Silae downloader is an automatic tool which replicates the remote Silae drive locally.

Overview

usage: main.py [-h] [-d DESTINATION_FOLDER] [-i]

Script to download files from edocperso.fr

options:
  -h, --help            show this help message and exit
  -d DESTINATION_FOLDER, --destination-folder DESTINATION_FOLDER
                        Destination folder for downloaded files
  -i, --ignore-existing
                        Ignore existing files in the destination folder. Do not download theses files again.

Quick start

There is a docker packaged version as well below

Prerequisites

  • Python 3.12 or higher
  • uv package manager

Installation

  1. Clone the repository:
git clone https://github.com/beckr/silae.git
cd silae
  1. Install dependencies with uv:
uv sync
  1. Set up your environment variables:
# Copy the example environment file
cp secrets.env.tpl secrets.env

# Edit secrets.env and add your credentials
# LOGIN=your@email.com
# PASSWORD=yourPassword
  1. Enable virtual env
source .venv/bin/activate
  1. Run
python src/silae/main.py -d /tmp

Docker

Dockerhub image

  1. Run
docker run --rm \
 -v /Users/me/downloads:/app/silae/downloads \
 -e DOWNLOAD_DIR=/app/silae/downloads \
 -e LOG_FILE_PATH=/app/silae/downloads/downloader.log \
 -e LOGIN=user@email.fr \
 -e PASSWORD=Password \
 rphbck/silae-downloader:latest

Note: if your password contains a shell reserved word (like $ or !), you must escape it like this -e PASSWORD=Pas\$w0rd\! \

better commits is enabled

About

Silae downloader is an automatic tool which replicates the remote Silae drive locally

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors