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.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.4.tar.gz (303.9 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.4-py3-none-any.whl (130.1 kB view details)

Uploaded Python 3

File details

Details for the file redturtle.filesretriever-1.0.4.tar.gz.

File metadata

  • Download URL: redturtle.filesretriever-1.0.4.tar.gz
  • Upload date:
  • Size: 303.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for redturtle.filesretriever-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b4e85578072568a549a18ec4b53d1b4d62525a1cbe004cb14e07016223b26793
MD5 51c25cb695b90143c899396d0b231535
BLAKE2b-256 bd454192d6c89fb7de9344ef290780fdce3bbc6a2ddac44ac134b8d3ed2aacd3

See more details on using hashes here.

File details

Details for the file redturtle.filesretriever-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for redturtle.filesretriever-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f43c2d8eb99ea5b79eece816764d35d5ab8de5efd6ad90076d0a5040a79f036b
MD5 69b8777ded784f25a9eaf9130af0755a
BLAKE2b-256 d268f357e29a2929048f505a003ed562c303a0cfbe937ea3f3dd333b98a975f9

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