Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Make it easier to call programatically #16

Closed
marcospgp opened this issue Feb 18, 2018 · 4 comments
Closed

Make it easier to call programatically #16

marcospgp opened this issue Feb 18, 2018 · 4 comments

Comments

@marcospgp
Copy link
Contributor

marcospgp commented Feb 18, 2018

It would be great if we could call the script using an attribute with the method choice (api or selenium) instead of selecting with arrows and pressing enter. Something like:

instagram-profilecrawl --method="api" or instagram-profilecrawl --method="selenium"

Another good thing to have would be a way to choose the filename for the result, perhaps with another parameter. It would also be nice to have the default name be "profile-<name>" instead of "profile
<name>", because spaces in filenames can be problematic.

These changes would make it easier to use this inside scripts instead of just manually through the console!

Cheers 😄

@nacimgoura
Copy link
Owner

yes it's a good idea, I try to do it asap.

@marcospgp
Copy link
Contributor Author

Small note, the parameters don't need quotes, so it would be instagram-profilecrawl --method=api or instagram-profilecrawl --method=selenium instead, or whatever else you prefer!

@nacimgoura
Copy link
Owner

It's done!

@marcospgp
Copy link
Contributor Author

Awesome! Nice work 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants