Skip to content

Added AzureFilesStorage to facilitate integration into Images or File Pipelines#3

Open
icarosadero wants to merge 1 commit intoscrapy-plugins:mainfrom
icarosadero:main
Open

Added AzureFilesStorage to facilitate integration into Images or File Pipelines#3
icarosadero wants to merge 1 commit intoscrapy-plugins:mainfrom
icarosadero:main

Conversation

@icarosadero
Copy link

This lets you integrate AzureFeedStorage as a store scheme to easily integrate it into File Pipelines. I.e. it will read azure:// URLs in IMAGES_STORE or FILE_STORE as a feed.

Comment on lines +28 to +30
FilesPipeline.STORE_SCHEMES.update({
'azure': AzureFilesStore
})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels a bit hacky. I wonder if, until scrapy/scrapy#1272 is implemented, the way to go about this would be to document how users need to do this themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants