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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for redturtle.filesretriever-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6956e17c12a5c68e54d882a67f84a3e119ec6b44325b5359f512f5f796ebb4b2
MD5 247c8497f8f7bf926b92f3f05983fb4c
BLAKE2b-256 0e19d1ec1e64d981c0a3ee4207b6df67414e049d37d82705624530b1a7952de1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redturtle.filesretriever-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7b2e3c3bd3793ed4e895142b80e70185ddd23969814dec7fbcb3cb1d5b8b19
MD5 361be556bc89920aea6486d42e65ff22
BLAKE2b-256 86b5b3a76aaa7a329d6f10a7bf9679600094206bc5f8536f3a84cdb6ba9d72a1

See more details on using hashes here.

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