framework
framework copied to clipboard
Support remote resources in publishing to Zip
Overview
to_zip ignores remote resources:
from frictionless import Package
p = Package('https://zenodo.org/record/7078768')
p.to_zip('/tmp/myfiles.zip')
It ignores the remote resources and doesn't include it in the zipped file.
The to_zip function should include remote url/resources as well while zipping the package. The proposed solution would be
package.resolve() # Download remote resource and update metadata accordingly
package.to_zip()
Thanks @shashigharti! I'll investigate