Skip to main content

Save all files from an external page

Project description

https://travis-ci.org/collective/redturtle.filesretriever.svg?branch=master Coveralls Latest Version Egg Status https://img.shields.io/pypi/pyversions/redturtle.filesretriever.svg?style=plastic:alt:Supported-PythonVersions License

RedTurtle Files Retriever

Utility view to retrieve massive files from a remote page.

View

There is an helper view (/files-retriever) that you can call on every Plone folderish context.

Files will be saved in that context.

Restapi endpoints

There are two endpoints:

  • @files-list (POST): accept an url and some CSS selectors, and returns a list of found links in the page.

  • @save-files (POST): accept a list of urls/titles and will download resources and save them in the current context.

Translations

This product has been translated into

  • English

  • Italian

Installation

Install redturtle.filesretriever by adding it to your buildout:

[buildout]

...

eggs =
    redturtle.filesretriever

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.5 (2026-03-20)

  • Handle fileurl wiith querystring [mamico]

1.0.4 (2025-09-16)

  • Handle relative links in html pages. [cekk]

1.0.3 (2025-03-31)

  • Handle wrong ssl certs also when download data. [cekk]

1.0.2 (2025-03-31)

  • Add custom Cipher adapter for requests session to allow download files from servers with old/wrong ssl certs. [cekk]

1.0.1 (2024-06-18)

  • Better handle edge-cases in content-type ad disposition headers. [cekk]

1.0.0 (2021-12-27)

  • Initial release. [cekk]

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

redturtle_filesretriever-1.0.5.tar.gz (303.4 kB view details)

Uploaded Source

Built Distribution

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

redturtle_filesretriever-1.0.5-py3-none-any.whl (128.6 kB view details)

Uploaded Python 3

File details

Details for the file redturtle_filesretriever-1.0.5.tar.gz.

File metadata

  • Download URL: redturtle_filesretriever-1.0.5.tar.gz
  • Upload date:
  • Size: 303.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for redturtle_filesretriever-1.0.5.tar.gz
Algorithm Hash digest
SHA256 361772bf5e249c31ddef59c94eaf3bfe251b6de968cbf6699db887957bed0e65
MD5 4d2f554be9e620ff2284ace6f5d93f39
BLAKE2b-256 968e180c9a6bc808a43302c02aa7fe573897d2e74c41cb7a8fb34f915b8e3cae

See more details on using hashes here.

File details

Details for the file redturtle_filesretriever-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for redturtle_filesretriever-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 30e7b44284d37aa01f207e11a7564c8ea90f51b71c603342cdd3c18b68179657
MD5 e05c1a3eae6b442f4b37ac74f4bc2af5
BLAKE2b-256 1d8531e9db00a5934ad265a541ac6b2582032ce669bb47c1ba432010b9a3bee9

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