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

Downloading single product #2

Open
demonium77 opened this issue Mar 9, 2020 · 4 comments
Open

Downloading single product #2

demonium77 opened this issue Mar 9, 2020 · 4 comments

Comments

@demonium77
Copy link

How with this script would it be possible to download a single product as CSV ?

Downloading all products is great for backing up store, but single product is great for scraping.

Would be definitely a cool feature to add ;)

@kishaningithub
Copy link
Owner

kishaningithub commented Mar 9, 2020

@demonium77 It is possible to do that as well and we can let the user supply a list of product handles as much as they want(1 or many). What do you think of this CLI API ?

# Long args
$ shopify-csv-download --products product-handle1,product-handle2 https://shopify-site.com > shopify-site-products.csv

# Short args
$ shopify-csv-download -p product-handle1,product-handle2 https://shopify-site.com > shopify-site-products.csv

@demonium77
Copy link
Author

Yeah I think it is great !

Adding a "--collection" args with collection-handle1, collection-handle2 could be cool as well.

Looking forward to seeing those evolutions !

@demonium77
Copy link
Author

Do you think you will be able to make the mentioned above CLI calls implementation ?

@kishaningithub
Copy link
Owner

Will do it when i find the time. Feel free to send in a PR :-)

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

No branches or pull requests

2 participants