Skip to main content

Download all your courses filles from cahier de prepa

Project description

cdpDumpingUtils

This project exists to dump files form cahier-de-prepa.fr web site. While some students try to recover every file manually, this tool can export most of the files.

DISCLAIMER : THIS TOOL IS NOT MEANT TO DEFEAT INTELLECTUAL PROPERTY, IT IS JUST A TOOL TO HELP STUDENTS.

Installation

Install Python3

  • Automatic installation (recommended)
pip install cdpDumpingUtils
  • Manual installation

Download the repository:

git clone https://github.com/Azuxul/cdpDumpingUtils.git

Install the dependency:

pip install -r requirements.txt

Now you can use cdpDumpingUtils but instead of the cdpDumpingUtils command you have to use this command: python cdpDumpingUtils/main.py

Usage

cdpDumpingUtils -h
usage: cdpDumpingUtils [-h] [--edit-cfg] [-v] [-l USERNAME] [-p PASSWORD] [-o OUTPUT] [-u URL]

options:
  -h, --help            show this help message and exit

arguments optionnels:
  --edit-cfg            Modification du fichier de configuration
  -v, --verbose         Augmente la quantité de texte affiché
  -l USERNAME, --username USERNAME
                        Nom d'utilisateur du compte cahier de prepa (utilisation sans compte possible)
  -p PASSWORD, --password PASSWORD
                        Mot de passe de connexion cahier de prepa
  -o OUTPUT, --output OUTPUT
                        Chemin d'acces du dossier de sortie, par default le dossier actuel
  -u URL, --url URL     URL de l'instance cahier de prepa

To run cdpDumpingUtils with a config file (if no config file it will be created) :

cdpDumpingUtils -o ./output

To run cdpDumpingUtils and specify an url without an account:

cdpDumpingUtils -u https://cahier-de-prepa.fr/XXX/ -o ./output

To run cdpDumpingUtils and specify an url with an account:

cdpDumpingUtils -u https://cahier-de-prepa.fr/XXX/ -l username -p password -o ./output

Limitations

This tool may be unusable if cahier-de-prepa is updated. This tool only download documents. Grades, calendars and other features of cahier-de-prepa are not implemented.

License

This project is licensed under the GNU General Public License v3.0

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

cdpDumpingUtils-0.2.1.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

cdpDumpingUtils-0.2.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file cdpDumpingUtils-0.2.1.tar.gz.

File metadata

  • Download URL: cdpDumpingUtils-0.2.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for cdpDumpingUtils-0.2.1.tar.gz
Algorithm Hash digest
SHA256 617e9efcfdfe60151e9d3f8c45fa686e0c51d59904a4d1895faf52e424cb1d15
MD5 a89009d8ccdf9b9384956a9684e68710
BLAKE2b-256 e616eb832ad3d5b1a33c8551550ede117a0d2a1b02d0ec794ff608a5ecc872cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cdpDumpingUtils-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02ea3c85c5204bacf87b72fd91975dd7bfba8969f4bf987b0c0b1d2a10cd06ae
MD5 a3153ae80ba838dcc06626c58d2a9087
BLAKE2b-256 6f4ff2479cdfd967c661032d53a39aa8b94646389c26c77a7a297b01f48994df

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