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.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.1.tar.gz (303.2 kB view hashes)

Uploaded Source

Built Distribution

redturtle.filesretriever-1.0.1-py3-none-any.whl (129.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page