Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to customize path for written files with media pipelines #2253

Closed
redapple opened this issue Sep 16, 2016 · 3 comments
Closed

Document how to customize path for written files with media pipelines #2253

redapple opened this issue Sep 16, 2016 · 3 comments

Comments

@redapple
Copy link
Contributor

@redapple redapple commented Sep 16, 2016

Motivation: #923

@dolohow
Copy link

@dolohow dolohow commented Feb 1, 2017

If I read code correctly the only way to customize path for ImagesPipelineis to override file_path method in custom ImagesPipeline. Am I right?
https://github.com/scrapy/scrapy/blob/master/scrapy/pipelines/images.py#L180

@redapple
Copy link
Contributor Author

@redapple redapple commented Feb 1, 2017

@dolohow , I believe it's not the only way to do that, but it's probably the most straightforward.

@djunzu
Copy link
Contributor

@djunzu djunzu commented Feb 4, 2017

@redapple I have the same thoughts as @dolohow , but I would love some enlightenment on how to do it in another way! If you know how to do it, please let me learn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants