framework icon indicating copy to clipboard operation
framework copied to clipboard

Support remote resources in publishing to Zip

Open shashigharti opened this issue 3 years ago • 1 comments

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

shashigharti avatar Oct 28 '22 06:10 shashigharti

Thanks @shashigharti! I'll investigate

roll avatar Oct 31 '22 17:10 roll